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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4
    • Fix Version/s: 19w35a
    • Labels:
      None
    • Environment:
      Windows
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Excited [Mojang] Maria Lemón
              Reporter:
              cubfan135 Jeremy
            • Votes:
              102 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: