-
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, 24w39a, 1.21.4
-
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
- Summon a bunch of pillagers
/execute as @e[type=pillager] run data merge entity @s {Patrolling:1b}
/execute as @e[type=pillager] run data merge entity @s {PatrolTarget:{X:0,Y:64,Z:0}}
(or other coordinates)
- Separate the pillagers
→ The pillagers lose their Patrolling:1b tag
- relates to
-
MC-156856 Ravager pathfinding AI becomes broken when Ravager encounters a Pillager Patrol
- Resolved