While a player is blocking with a shield, a melee attack from any mob or player holding a snowball in its main hand goes straight through the shield and deals full damage. And the shield also takes no durability damage. Melee attacks from mobs holding any other item, or nothing, are blocked as normal. Regression introduced in 26.4 snapshot 9.
Additionally, this looks like a side effect of the fix for MC-313067
Steps to reproduce
Create a world in survival mode on normal difficulty and set the time to night
Equip a shield in your offhand.
Summon a zombie holding a snowball:
/summon zombie ~ ~ ~3 {equipment:{mainhand:{id:"minecraft:snowball",count:1}}}Face the zombie and hold right click to block with the shield while it attacks you.
Watch your health and the shield's durability.
For comparison, repeat with a zombie holding a stick:
/summon zombie ~ ~ ~3 {equipment:{mainhand:{id:"minecraft:stick",count:1}}}
Root cause
I’ve yet to conduct a code analysis, but will soon.
Comments 2
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Can confirm