Mojira Archive
MC-159864

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

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.

Cannot Reproduce

DrownedZombie

2019-08-27, 03:37 AM

2020-08-03, 11:33 PM

2020-08-03, 11:33 PM

1

3

Unconfirmed

(Unassigned)

1.14.4, 19w34a

-