Started by
JustHaven
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a potion that, when consumed, gives you a potion effect which locks armor to your armor slots. I've made it so that when the player tries to remove the armor while under effect of the potion, the armor will just reappear in the slot again. However, this leads to duplicating the armor, which I don't want. I just want to make it so the player cannot remove the armor. Is this possible?
Try instead enchanting the armor with curse of binding and then when potion wears off removing enchantment