Started by
nourelqamed
on
Topic category: Help with Minecraft modding (Java Edition)
So, for Example, if a piece of netherite armor breaks, it is replaced with a piece of diamond armor. The problem is i dont know how to detect if a piece of armor breaks and i need help with that
How can i detect if armor breaks
Thanks
Edited by nourelqamed on Fri, 05/09/2025 - 12:29
you can check durability of armor (if = 1, then replace)
i think it will be better cause player can lose netherite armor (no one likes to lose expensive items)