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

Ravager pathfinding AI becomes broken when Ravager encounters a Pillager Patrol

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w35a
    • Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4
    • None
    • Windows
    • Confirmed
    • (Unassigned)

      When a Ravager Encounters a Pillager Patrol the Ravager moves toward the patrol and begins patrolling. The problem arises when the Patrol members are either killed or despawn. At that point the Ravager AI continues to try to patrol but no patrol is present. The Ravager then simply stands in one location and doesn't move again (no random pathing).

       

      To reproduce:

      1. Spawn in a Ravager and name it (or capture it from a raid)
      2. Wait until a pillager patrol spawns nearby
      3. The Ravager will join the patrol
      4. At this point you can see the Ravager's Patrolling tag is set to: Patrolling: 1b
      5. When the patrol despawns or is killed the Ravager remains in patrol mode and will no longer pathfind.

       This is due to the fact that even after the pillager patrol despawns, the Ravager's Patrolling tag is still set to 1b. If the tag is instead set to 0b it will pathfind as normal.

            Excited Maria Lemón
            cubfan135 Jeremy
            Votes:
            102 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: