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

Patrol follower AI circles around the area of where the leader/captain died

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.14.4, 19w34a
    • None
    • Unconfirmed
    • (Unassigned)

      If a patrol leader/captain was killed, the remaining follower will circle around a random area of where it's leader/captain died. Their PatrolTarget XYZ will be stuck permanently on one position near the patrol leader/captain's death. For example, the patrol in the attachment video death position is XYZ: 88.599 / 4.00000 / -112.599 and as I press F3 + N to get their data, their PatrolTarget is set to 82, 4, -110. Also affects snapshot 19w34a.

      How to Reproduce

      1. Spawn patrol captain and patrol followers (Commands are shown below)
      2. When killing the patrol leader:
        /kill @e[type=pillager,nbt={PatrolLeader:1b}] 
      1. The patrol followers would walk around the area where the captain died.

       

      Workaround

      Simply use the /data command to set their Patrolling tag to 0b.

            Unassigned Unassigned
            drownedzombie01 [Mod] DrownedZombie
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: