Helmets do not reduce the damage taken from falling anvils or stalactites by 1/4. They still reduce the damage by a small amount, but not more than wearing any other armor piece, despite still taking twice the durability damage as other armor pieces.
Steps to Reproduce:
Setblock an anvil or summon a falling block above you.
This may be easier to visualize if you spawn the anvil higher to deal more damage and disable the "natural regeneration" gamerule.
Observe the damage taken.
Restore yourself to full health, and repeat the previous steps while wearing only a helmet.
Repeat the test again but with a different single armor piece instead of the helmet.
The helmet only provides a small damage reduction in line with what would be normally expected from armor pieces; chestplaces and leggings provide more damage reduction due to having more defense points. However, the helmet still takes increased durability damage.
Linked issues
Attachments
Comments 2
Reopened and confirmed as I believe this to be a different issue than MC-243085. In LivingEntity:hurt()
the damage value is multiplied by 0.75, but only after the damage has been dealt to the player, so it has no effect. It does seem to change the amount of damage passed to the minecraft:entity_hurt_player
advancement trigger however.
Also, the helmet still takes twice the durability damage as normal, though not nearly as much as described in MC-243085, despite providing no more damage reduction than other armor pieces.
The images show that the helmet still reduces the damage, just not as much as 1.16.5. The durability not being reduced as much is intended as per MC-243085.