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

Illagers stop patrolling when separated from their group and won't resume patrolling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w18a, 20w19a, 20w20a, 20w22a, 1.16 Pre-release 1, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w45a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w07a, 21w08b, 21w11a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w40a, 21w44a, 1.18 Release Candidate 1, 1.18.1, 22w03a
    • None
    • Confirmed
    • Mob behaviour

      Bug description

      When an illager with the Patrolling:1b tag is separated from the rest of the patrol, the tag becomes 0b. This causes them to stop patrolling and wander around aimlessly, even having the PatrolTarget tag. The illager will not resume patrolling when it regroups with the rest of the patrolling members if the captain stopped patrolling himself.

      NOTE: This bug doesn't happen in 1.14 to 1.14.4.

      To reproduce

      1. Summon a bunch of pillagers
      2. /execute as @e[type=pillager] run data merge entity @s {Patrolling:1b}
      1. /execute as @e[type=pillager] run data merge entity @s {PatrolTarget:{X:0,Y:64,Z:0}}

        (or other coordinates)

      1. Separate the pillagers
        The pillagers lose their Patrolling:1b tag

        1. 2020-01-26_18.52.14.png
          2020-01-26_18.52.14.png
          773 kB
        2. screenshot-1.png
          screenshot-1.png
          713 kB
        3. screenshot-2.png
          screenshot-2.png
          647 kB

            Unassigned Unassigned
            Ozone Ozone
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: