Mojira Archive
MC-165507

When a mob takes no damage, it still flashes red

The bug

When a mob take no damage, the mob flashes red.

How to reproduce

  1. Summon a weak iron golem
    /summon iron_golem ~ ~ ~ {Attributes:[{Name:generic.attack_damage,Base:0.0}]}
    
  2. Summon any mob with NoAI tag
    /summon minecraft:wither ~ ~ ~ {NoAI:1}
    

     The mob flash red despite it is taking any damage