mojira.dev
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

Linked issues

Attachments

Comments 11

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.

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

1 more comments

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.4 and 24w05b

TheBoy358

(Unassigned)

Confirmed

Mob behaviour, Rendering

1.14.4, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, ..., 23w32a, 1.20.2, 23w40a, 23w43b, 1.20.3 Pre-Release 2

Retrieved