[BUG] Curse of Binding and the like doesn't work
Zt192 opened this issue · 5 comments
I am using the latest version on 1.20.1
Curse and other enchantments to save any items from mods, like soulband from Ender Zoology, do not work
- For example, take a curse and put on armor with it
- Die, your armor will remain in the grave, for example a helmet and will not even be worn on you.
The item had to be preserved and worn.
Other enchantments for saving things in the inventory from mods also do not work :(
Alright, this has been implemented and released; I'm going to close this for now but if you have any more issues feel free to reopen it and let me know, thanks!
Thanks for the report!
I have an idea of how I can go about adding support for modded enchantments. It won't be a catch-all but I'll make it so any unsupported enchantments can be manually added via datapacks.
I'll add support for Soulbound from Ender Zoology by default. I noticed you mentioned it not working for other mods -- what other ones were you having issues with?
I haven't had any problems with other mods so far, but I noticed that it also doesn't work with the vanilla Curse of Binding
I think I may have a solution that'll work for this; I'll need to test it a bit more though and make sure it's working as intended.
For Curse of Binding, I tried to replicate the vanilla behavior by removing it from the equipment slot and moving it into your inventory during grave retrieval (or dropping it if there's no space) since normally death is one of the ways to remove Curse of Binding items. 🤔