how to disable item when it almost broken

Started by Ocuel on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to disable item when it almost broken

hey, i wanna to disable item(so player can't use it), when item has 1 hp. Can you please help me, how to do it?

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mke a procedure if you…
Sat, 07/02/2022 - 18:12

Mke a procedure if you havent yet and add a condition:

If ((get damage of (provided itemstack/other itemstack)) = 1)

actions