概览
厌倦了死亡时失去所有辛苦获得的附魔装备,但又不想开启 keepInventory 从而完全免除死亡惩罚?那么这款模组正是为你准备的!
默认情况下,此模组会改变与死亡相关的两项机制:
- 你的任何武器、工具和护甲在死亡时将保留在你的物品栏中。
- 你所有装备的耐久度将在死亡时降低 15%。
自定义
本模组在设计之初就考虑到了自定义需求。模组的所有行为均由玩家规则(gamerules)和物品标签(item tags)控制,因此几乎所有内容都可以更改。
当前玩家规则:
keepEquipment: 启用后,此玩家规则将使位于 keepequipment:kept_with_keepequipment 标签中的任何物品在死亡后保留在你的物品栏中。默认为 true。
equipmentDegradationPercentage: 控制你死亡时拥有的物品将损失的耐久度百分比。默认为 15%。
maxItemsKept: 确定由 keepEquipment 玩家规则保留的物品最大数量。默认为 999,因此默认情况下你将保留所有物品。
keptExperiencePercentage: 确定你死亡时保留的经验值百分比,以玩家的总经验值而非等级计算。默认为 50%。
常见问题
-
问:此模组如何与墓碑模组交互?
-
答:正如你所预期的那样工作。死亡时保留的物品将留在你的物品栏中,而其余物品则会放入墓碑。物品的耐久度仍会按正常方式降解。
-
问:你能自定义死亡时保留哪些物品吗?
-
答:可以,通过制作修改 keepequipment:kept_with_keepequipment 标签的数据包,你可以添加或移除玩家死亡时将保留的物品。
-
问:模组未来计划添加更多功能吗?
-
答:是的,我还有一些额外的玩家规则想要添加。不过别指望很快就能实现,我最近忙于大学学业。
-
问:你计划为此模组制作 Fabric 移植版吗?
-
答:目前没有。
Overview
Tired of losing all your hard-earned enchanted equipment when you die, but don't want to turn on keepInventory and not get punished at all for death? Well this is the mod for you!
By default, this mod changes two things about dying:
- Any of your weapons, tools, and armor will be kept in your inventory on death.
- The durability of all your equipment will degrade by 15% upon death.
Customization
This mod has been built with customization in mind. All of the mod's behavior is controlled with just gamerules and item tags, so just about everything can be changed.
Current Gamerules:
- keepEquipment: When enabled, this gamerule will make any item in the
keepequipment:kept_with_keepequipment tag remain in your inventory after death. Defaults to true.
- equipmentDegradationPercentage: Controls the percentage of durability the items you have will lose when you die. Defaults to 15%.
- maxItemsKept: Determines the maximum amount of items kept by the keepEquipment gamerule. Defaults to 999, so you will keep everything by default.
- keptExperiencePercentage: Determines the percentage of experience you keep on death, measured by the player's total experience instead of their level. Defaults to 50%.
FAQ
-
Q: How does this mod interact with gravestone mods?
-
A: Works exactly like you'd expect it to. Items kept on death will remain in your inventory, while everything else goes to your gravestone. The durability of your items will still degrade as normal.
-
Q: Can you customize which items you keep on death?
-
A: Yes, by making a datapack that modifies the keepequipment:kept_with_keepequipment tag, then you can add or remove items that the player will keep when they die.
-
Q: Are there any more features planned for the mod?
-
A: Yeah, I've still got some additional gamerules I'd like to add. Don't expect anything soon though, I'm a bit busy with college.
-
Q: Do you plan on making a Fabric port of this mod?
-
A: Currently, no.
评论 0
登录后参与评分
还没有评论,来抢沙发吧