
Controllable Death Penalty(可控的死亡惩罚) - CDP
No more FULL loss of Items, or ALWAYS keep items, or graves! This minecraft mod provides customizable, trade-off settings to preserve important assets, and AT THE SAME TIME, still reserve acceptable death penalty. 让痛失全部物品,总是保留物品,或任何墓碑模组都见鬼去吧!这个模组提供了折中的方案。
Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Controllable Death Penalty(可控的死亡惩罚) - CDP
No more FULL loss of Items, or ALWAYS keep items, or any Graves! This minecraft mod provides customizable, trade-off settings to preserve your important assets, and AT THE SAME TIME, still reserve acceptable death penalty.
Quick Start:
All commands for this mod are grouped under /cdp ..., and the mod is enabled by default. By default, each slot and item slot in the vanilla inventory independently has a 50% chance to suffer partial durability loss and a 50% chance to drop on death. By default, this mod protects items in the armor, main-hand, and off-hand slots, preventing them from dropping on death; durability loss will not actually break an item, but will instead leave it with 1 durability point. Multiple stackable items will never all be dropped, with at least 1 item retained.
The item-drop behavior described above can be viewed using /cdp get and reset using /cdp reset. To modify it, use /cdp set ... to configure specific parameters. Please refer to the documentation in the repository for information about what each parameter means.
Compatibility:
This mod can be overridden by /gamerule keep_inventory true.
This mod will intercept all vanilla player item slots by default, but it may not intercept special slots added by other mods, such as accessory slots or backpack slots. If compatibility with a special slot is required, please submit a compatibility request for the specific mod through GitHub Issues. The author will consider whether to add compatibility.
When this mod is used together with any backpack mod, as long as the backpack remains inside a vanilla slot, it can be protected by using a command such as /cdp whitelist add travelersbackpack:standard
Learn More:
This mod provides detailed documentation and changelogs in the Docs and ChangeLog folders of each version branch in the GitHub repository. Because each version branch contains similar but independent documentation and changelogs, and because documentation for versions that are no longer supported does not need to remain up to date, a single permanent link cannot be provided.
To report any bugs, please visit GitHub Issues
The code work of this mod is basically fully generated by AI.
让痛失全部物品,总是保留物品,或任何别的墓碑模组都见鬼去吧!这个模组提供了可用指令自定义的,折中的方案,同时保留了勉强可以忍受的死亡惩罚。
快速上手:
此模组的指令全部集中在 /cdp ... 内部,并且默认启用。默认情况下,此外,每个原版背包中的槽位和物品格都分别有50%概率产生部分损坏,50%概率在死亡时掉落。此模组会默认保护盔甲,主手,副手物品,死亡时使这些槽位不掉落;耐久损失不会真的导致物品损坏,而是维持在1点耐久。可堆叠的多个物品一定不会掉落全部,至少保留1个。
以上的物品掉落行为都可以通过 /cdp get 获取,以及 /cdp reset 重置。 需要修改则使用 **/cdp set ...**设置具体的参数。参数的含义请前往仓库的文档阅读相关信息。
兼容性:
此模组可以被 /gamerule keep_inventory true 覆盖。
此模组会默认拦截原版玩家的全部物品槽位,但是不一定能拦截被其他模组添加的饰品槽,背包槽等特殊槽位。如果有需求要兼容特殊槽位,请在Github Issues提出对特定模组的兼容请求。作者会考虑是否兼容。
当此模组与任意背包模组合并使用时,只要背包仍然处于原版槽位内部,就可以通过设置例如 /cdp whitelist add travelersbackpack:standard 来拦截。
了解更多:
此模组有详细的文档和更新日志,位于Github仓库任意版本分支的Docs文件夹和ChangeLog文件夹。由于每个版本的仓库内有相似但独立的文档和更新日志,且考虑到后续有些版本不再支持,文档也无需更新至最新,因此无法给出一个固定的链接。
报告任何bug请前往Github Issues
此模组的代码部分基本全部由AI完成。

