Patrol

Illager patrols are common naturally spawning groups of pillagers and vindicators that attack villages.

Spawning
Illager patrols spawn as a group of pillagers and vindicators, totaling five all together. One of the pillagers or vindicators will be the illager captain. The illager captain wears an illager banner on its head. The other pillagers or vindicators will follow the leader and then target the village.

Conditions
Illager patrols spawn around 200 blocks away from villages in, ,, and  biomes, as well as their variants on sand and grass block, or in snow with a block light level of 0–8 and a sky light level of 10–15. Illager patrols spawn naturally throughout the day or night after 5 in-game days. The illager patrols will need to spawn in the right biome near a village, regardless if the village almost completely generated in a unusual place (e.g. a village generates in a roofed forest almost completely but a portion is still in the plains. then the patrol will only spawn in the plains area near the village.) A patrol will only spawn near the village if it has all doors and at least 1 villager.

Behavior
Illager patrols will circle inwards toward villages and then proceed to attack the village and try to kill villagers and iron golems.

The patrol captain always drops an illager banner upon death.

Bad Omen
Upon killing a patrol captain, the player receives 1 to 3 levels of the effect for 100 minutes, which has no consequences until the player enters a village. Then the effect is removed from the player and a raid spawns nearby after about 5 seconds. The level of the Bad Omen determines the number of waves in the raid.