Detect when an item loses durability?

Started by AvatarMars on

Topic category: Help with modding (Java Edition)

Last seen on 17:07, 24. Sep 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect when an item loses durability?

Is there a function to detect when a tool or piece of armor loses durability? I am trying to make the inverse of unbreaking, where if a piece of armor or tool has my new enchantment on it, when it loses durability it has a chance to lose more than one. I see the "player uses item" trigger in the procedure window, but that dosent seem to work. please help.