how to disable item when it almost broken

Started by Ocuel on

Topic category: Help with modding (Java Edition)

Last seen on 12:27, 14. Jun 2022
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?

Last seen on 20:07, 9. Feb 2024
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