Pillager

Pillagers are hostile illager mobs equipped with crossbows.

Illager patrols
Pillagers may spawn in illager patrols. Illager patrols spawn a maximum of five pillagers (weight 55) or vindicators (weight 27) up to 200 blocks away from a village on grass or sand with a block light level of 0–8 and a sky light level of 10–15.

Pillager outposts
Pillagers naturally spawn in and around pillager outposts.

Raids
Pillagers are able to spawn as part of raids. Raids are when Illagers invade a village and attack villagers.

Woodland mansions
Pillagers naturally spawn in Woodland mansions.

Drops
Upon death, pillagers drop:
 * 0–2 s, dropping more with the presence of Looting, up to 5.
 * Its which has an 8.5% chance to be dropped (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III). It will have a random durability, and can be enchanted.
 * 5 experience when killed by a player or tamed wolf.
 * 1 Illager Banner.png illager banner, if the pillager is a patrol leader.

Behavior
Pillagers are armed with crossbows and attack by shooting arrows at nearby players, iron golems and villagers. They shoot an arrow every 2 seconds at 6 blocks away. This can lead to pillagers battling neutral/hostile mobs due to an arrow hitting the wrong target, though pillagers will never attack each other. Pillagers can ride illager beasts. Villagers will attempt to run away from the pillagers. Pillagers will switch to melee attack when fully submerged underwater.

Bad Omen
Pillagers wearing banners on their heads are designated as patrol or outpost captains, depending on if they spawned in a patrol or at an outpost. Patrol captains will give Bad Omen ranging from level 1 to 3, whereas outpost captains only give level 1 bad omen. The effect is indefinite and will stack to a maximum of level 5.