Mojira Archive
MC-279877

Angry neutral mobs will stay angry if the player is killed indirectly

Angering a neutral mob (e.g. an Iron Golem), then dying from a different source (e.g. fall damage), won't de-aggro the mob, even if the death message credits the mob (e.g. [Player] was doomed to fall by [Mob]). This is with forgiveDeadPlayers on.

 

Expected result:

The mob would no longer be angry after the player respawns.

 

Actual result:

The mob still attacks the player if they are nearby.

 

How to reproduce:

  1. Attack a neutral mob to make it angry.
  2. Let it hit you, without killing you.
  3. Die from a different source, such as fall damage.
  4. Respawn near the mob, it will still attack you. If it kills you directly (e.g. [Player] was slain by [Mob]), it will no longer be angry.

See a demonstration here.

Unresolved

Xraymane

2025-01-29, 05:50 AM

2025-01-29, 06:00 AM

0

0

Unconfirmed

(Unassigned)

1.21.4, 25w04a

-