Started by
Haxuda_02
on
Topic category: Help with Minecraft modding (Java Edition)
I've created a very cool sword with 25,000 durability. And I need certain enchantments such as Mending to be banned. How to do this in the procedure?
Topic category: Help with Minecraft modding (Java Edition)
I've created a very cool sword with 25,000 durability. And I need certain enchantments such as Mending to be banned. How to do this in the procedure?
You can't prevent the enchantment being applied without custom code but you can check if it's present using the item's use triggers or inventory tick update and then remove the enchantment.