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

Leashed hostile mobs don't pathfind correctly to their target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 24w37a, 1.21.3, 24w46a, 1.21.4
    • None
    • Confirmed
    • Mob behaviour
    • Important
    • 1298093
    • Expansion A

      Some hostile mobs that can be leashed do not pathfind correctly to their target when leashed. The mob tries to walk to the player but seemingly gets interrupted.

      Affected mobs:

      • Iron golem (when attacked)
      • Hoglin
      • Zoglin
      • Polar bear
      • Zombified piglin (leashed before conversion)

      How to reproduce

      1. Summon any of the mentioned mobs in creative.
      2. Leash the mob into a fence.
      3. Switch to survival and attack the mob to trigger aggro.
      4. Notice the mob's pathfinding.

      Expected result
      The mob would pathfind correctly to the targeted player.

      Observed result
      The mob's pathfinding is seemingly broken / gets constantly interrupted.

        1. 2024-09-13_20.00.30.png
          2024-09-13_20.00.30.png
          354 kB
        2. 2024-09-13_20.03.52.png
          2024-09-13_20.03.52.png
          358 kB
        3. 2024-09-13_20.06.12.png
          2024-09-13_20.06.12.png
          332 kB
        4. 2024-09-13_20.10.57.png
          2024-09-13_20.10.57.png
          338 kB

            Unassigned Unassigned
            Chavamix700 syarumi
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: