In the official wiki, if one of the patrol members is attack by a mob or a player, all other members attack the same mob who hurts one of their members, but instead they ignore the attacker while the attacked illager will pursue the target.
Linked issues
is duplicated by 2
Comments 5
@unknown This was sort of working in 1.14.60, and in 1.13.3/1.13.1 and below they always swarmed the player.
I've done some looking and the 1.16 pillager.json entity file is missing all of the coding for this behavior.
The 1.14 pillager.json includes minecraft:synchronized_ranged_mode and on_friendly_anger events, and a minecraft:synchronized_ranged_attack that calls broadcast_anger. All of this is missing from the 1.16 pillager.json.
This issue seems similar to MCPE-71684 where an outdated json file was used as the basis for the 1.16 json. The pillager.json looks like it was partially re-written to fix MCPE-44987.
Restoring the coding for sychronized patrol attacks from the 1.14 pillager.json fixes the issue.
I'm sure I've seen the swarming behavior in the past, but now I've tested in 1.16.20 and it isn't working.