Started by
Elioth67
on
Topic category: Help with Minecraft modding (Java Edition)
I need help to make sure that when we eat an item, instead of deleting it it will lose durability (and that when there is no durability it is deleted)
Version of mcreator: Latest (when I posted this post)
This is probably possible in MCreator. Just give the player a different item onItemUse/onItemEaten.
- Full Item, Half Item.
If the player uses the Full Item, give them the Half Item.
If the player uses the Half item, just don't give them anything; alternatively, give them a Broken Item.
However, if you really want the durability effect, such as a sword. You are probably going to have to code.
Thx