The bug
When a mob take no damage, the mob flashes red.
How to reproduce
Summon a weak iron golem
/summon iron_golem ~ ~ ~ {Attributes:[{Name:generic.attack_damage,Base:0.0}]}
Summon any mob with
NoAI
tag/summon minecraft:wither ~ ~ ~ {NoAI:1}
→ ❌ The mob flash red despite it is taking any damage
Linked issues
is duplicated by 3
Attachments
Comments 11


It affect 19w46b as well and also with snowballs.
This has been the case for quite som time.
Confirmed on MC 1.12.

Also happens when taking would-be fall damage with feather falling equipped.
Can confirm for 1.16.5 and 21w08b
In 1.20
Punch a chicken on Easy difficulty 3 times, and then throw an Ender Pearl at it and it flashes red despite not taking damage/dying.
Related to MC-220022
In 23w31a and 1.20.1
In 1.20.2
In 23w43b
In 1.20.4 and 24w05b
Same applies for snowballs which also deal no damage. Do you have a source that this is unintended? After all the weak mob is still causing knockback.