The damage_item
entity effect in enchantments doesn't break the item when the durability reaches 0.
How to reproduce:
I've attached a datapack that adds a test:damage_armor
enchantment. This enchantment uses the minecraft:tick
enchantment component to apply the damage_item
entity effect every tick.
1. Open a world with the attached datapack
2. Enchant any piece of armor with the test:damage_armor
enchantment
/enchant @s test:damage_armor
3. Equip the armor
4. Wait for the durability to reach 0
5. ❌ Note that the armor doesn't break, and the durability stays as 0.
Can confirm.
[media]