The Bug:
Wolf armor is damaged even when damage_on_hurt in the equippable component is set to false.
Armor worn by players and horses isn't damaged when this is set to false, therefore introducing an inconsistency.
Steps to Reproduce:
Summon a wolf wearing wolf armor whose
damage_on_hurtis set to false by using the command provided below./summon minecraft:wolf ~ ~ ~3 {equipment:{body:{id:"minecraft:wolf_armor",components:{"minecraft:equippable":{slot:"body",asset_id:"minecraft:armadillo_scute",damage_on_hurt:false}}}}}Damage the wolf by using the command provided below.
/damage @n[type=minecraft:wolf] 100Observe if the wolf armor breaks.
Observed Behavior:
Wolf armor is damaged even when damage_on_hurt in the equippable component is set to false.
Expected Behavior:
Wolf armor would not be damaged when damage_on_hurt in the equippable component is set to false.