Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-279877

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.4, 25w04a
    • None
    • Windows 10, Java 21
    • Unconfirmed
    • Survival
    • (Unassigned)

      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.

            Unassigned Unassigned
            Xraymane Xraymane
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: