-
Bug
-
Resolution: Duplicate
-
None
-
24w45a
-
None
-
OS: Arch Linux x86_64
Kernel: Linux 6.11.5-arch1-1
Java: jdk 21.0.5
-
Unconfirmed
-
(Unassigned)
What I expected:
Since the item has the specified minecraft:max_damage component, it would break if the entity it was worn on took damage
What happened:
The item is not damaged when the entity is wounded
Steps to reproduce:
- Give an item that has no durability by default with the minecraft:max_damage and minecraft:equippable components:
/give @s minecraft:diamond[minecraft:equippable={slot:feet,damage_on_hurt:1b},minecraft:max_damage=91,minecraft:max_stack_size=1]
- Equip this item
- Get damaged several times
- duplicates
-
MC-269654 Damage values don't work in non-tool items without both explicit damage and max_damage components
- Resolved