Simple Soulbound Enchantment
Adds an enchantment which will immediately return enchanted items to you upon death.
截图
介绍
This is a datapack for versions 1.21 and above. It adds a simple enchantment which protects enchanted items from being dropped on death.
This datapack is inspired by similar mods and datapacks for previous versions. I couldn’t find one using the new data-driven enchantment functionality in 1.21 so I decided to make it for myself with the aim of keeping it as simple and understandable as possible.
This enchantment cannot be obtained in survival by default, and is intended more as a utility for servers, maps, packs and other projects. I may create an alt version which is obtainable through enchanting in the future, but for now you’re free to download this version and add it to the obtainable enchantment tags yourself, it’s not too difficult to do.
Items with durability will lose 20% of their durability upon death, so dying doesn’t come without drawbacks. However, this damage will never fully break the item. You will hear a small noise on respawn to signify that items have been returned to you.
This datapack requires the chunk at 0,0 to be force-loaded to function correctly. This will be done automatically on load. On a server, spawn chunks are always loaded by default so this should make no difference, however this may have a very minor impact in singleplayer.
Compatible with keepinventory (enchantment will have no effect). Will likely break with doimmediaterespawn. Items are attributed to and returned to players based on their UUID, so will likely break on offline-mode servers.
Due to how the void deletes items after a single tick, this enchantment will NOT protect items from death to the void. This may be fixed in the future, but its tricky.
_Want to ask questions directly? I don’t have a discord server, but you can send me a message request @livelaughlord_

常见问题
Simple Soulbound Enchantment 支持哪些 Minecraft 版本?
Simple Soulbound Enchantment 支持 Minecraft Java 版 1.21–1.21.1,共 2 个版本。下载时注意选择和你游戏版本一致的文件。
Simple Soulbound Enchantment 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分