mojira.dev
MC-276361

Tools and weapons with the the equippable component are damaged when hurt

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:

  1. Get a tool/weapon with durability, and the equippable component:

    /give @p minecraft:wooden_axe[minecraft:equippable={slot:'legs'}]
  2. 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.

Attachments

Comments 1

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 HistorySnapshot Version HistoryThe 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

SomeoneM16

(Unassigned)

Confirmed

(Unassigned)

component, equippable

24w36a

Retrieved