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

Iron golem pathfinding breaks under specific circumstances after killing the player it was angry at

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 21w43a, 1.18 Pre-release 2, 1.19 Pre-release 1, 24w05b
    • Community Consensus
    • Mob behaviour

      The bug

      Iron golems rarely start spinning and wandering around aimlessly, even when aggravated, if the player hits them and is killed by them repeatedly.

      To reproduce

      1. Create a new creative world.
      2. Go to a village (might not be necessary) and spawn iron golems using /summon iron_golem.
      3. Switch to survival mode and set the spawn nearby.
      4. Hit the iron golems and respawn repeatedly.
      5. The golems will eventually start spinning around and wandering aimlessly, even when aggravated.

      Note: dying/respawning is required to reproduce this issue. I tried to reproduce this by giving myself Resistance V and I consistently failed to do so. This is also incredibly rare, so it will probably take a long time to reproduce.

        1. 2021-06-16 20-29-54.mp4
          3.97 MB
        2. 2021-07-01 21-17-04.mp4
          4.74 MB
        3. 2021-10-27 19-29-55.mp4
          9.51 MB
        4. iron_golem_broken_AI.mp4
          8.45 MB

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: