Started by
bielles
on
Topic category: Help with Minecraft modding (Java Edition)
For some reason, and I don't know why my special and multitool tools use 2 durability when hitting something, even on creative mode. I looked at all my procedures and I still don't know what's wrong
It uses 2 durability because that's how durability works in Minecraft. Attacking entities with anything that isn't specifically a sword, mace, or trident will lose 2 durability points rather than one. Though curiously, it does seem to lose durability no matter the game mode.
Though there is an easy fix to this, and it is with this procedure activated when a living entity is hit with tool: