Tools and weapons (items with durability that are not armor) if worn lose durability like normal armor, even while having no effect.
Steps to Reproduce:
Get a tool/weapon with durability, and the
equippable
component:/give @p minecraft:wooden_axe[minecraft:equippable={slot:'legs'}]
In survival, run this command and take damage:
/damage @p 5 minecraft:mob_attack
Expected Behavior:
The tool would have not be damaged.
Observed Behavior:
The tool item loses durability.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki