mojira.dev
MC-269654

Damage values don't work in non-tool items without both explicit damage and max_damage components

Items with "damage_per_block" and "max_damage" that aren't originally tools or have durability settings, don't seem to get damaged at all.

Examples:

*Expected:* item breaks after 6 uses
*Result:* item doesn't take durability

/give ChimeraDev stick[minecraft:max_damage=12,minecraft:tool={damage_per_block:2,rules:[{blocks:"minecraft:stone",speed:5,correct_for_drops:true}]}]

*Expected:* item breaks after one use
*Result:* item doesn't take durability

/give ChimeraDev stick[minecraft:max_damage=6,minecraft:tool={damage_per_block:6,rules:[{blocks:"minecraft:stone",speed:5,correct_for_drops:true}]}]

These examples do work if you use an item that originally has damage values.

Linked issues

Comments 2

Found the issue. Items need damage and max_damage or it won't work by default.

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

ChimeraDev

(Unassigned)

Confirmed

Items

24w12a

Retrieved