Started by
john_nuts331
on
Topic category: Help with Minecraft modding (Java Edition)
An item i made uses the durability system to tell the player how many uses it has left, and i want there to be a fixed number of uses, but because I'm using durability, they can automatically be enchanted with unbreaking and mending, which I do not want.
Is there a way to stop the item from being enchantable?
One method would be to create a new curse enchantment and make it incompatible with mending and unbreaking then apply it to the item