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
is duplicated by 4
Comments 2
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
Found the issue. Items need damage and max_damage or it won't work by default.