Pillager

Pillagers are illager mobs equipped with crossbows.

Illager patrols
$$, pillagers can 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. Illager patrols spawn naturally throughout the day or night but after 5 in-game days.

$$, pillagers can spawn in illager patrols. Illager patrols spawn 2–5 illagers; on easy and normal difficulties all illagers are pillagers, while on hard difficulty 80% will be pillagers and 20% will be vindicators. The illagers will spawn 24–48 blocks away from the player. On easy difficulty, they can only spawn at light level 0–7 while in normal and hard difficulties they can spawn in any light level after 5 in-game days.

Pillager outposts
Pillagers naturally spawn in and around pillager outposts.

Raids
Pillagers are able to spawn as part of raids, usually as the most common mob in one.

Behavior
Pillagers are armed with crossbows and attack by shooting arrows at nearby players, iron golems, villagers, or adult villagers, and wandering traders. They shoot an arrow every 3 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 ravagers. Pillagers will attempt to specifically target villagers in a raid while they will run away from the pillagers and will change targets if an entity hits them within their firing range. Pillagers will switch to melee attack when fully submerged underwater. Pillagers don't attack when they don't have any weapons.

Celebrating
If raiding pillagers kill all the villagers in a village, the pillagers will celebrate their victory by jumping and laughing.

Drops
Upon death, pillagers drop:
 * 0–2 s, dropping more with the presence of Looting, up to 5.
 * Its (can be loaded or unloaded), which has an 8.5% chance to be dropped; this rate increases by 12% per level of Looting. (20.5% with Looting I, 32.5% with Looting II and 44.5% with Looting III). It will have a random durability, and will be enchanted whether they spawn with it enchanted. This random enchantment has a level from 5 – 19.
 * 5 experience when killed by a player or tamed wolf.
 * 1 Illager Banner.png Ominous banner, if the pillager is a raid captain. The raid captain will spawn with an ominous banner on its head and will always drop the banner when defeated.

$$ pillager spawn from raids can drops: And an additionally drop depend on difficulty, 65% chance of dropping on easy and normal, while 80% chance of dropping on hard They can drop one of these; Note:
 * 0-1
 * 0-1 ($10/39$ chance)
 * 2-3 ($20/78$ chance)
 * 4-5 ($5/39$ chance)
 * 1 ($10/78$ chance)
 * 1 ($2/39$ chance)
 * 1 ($4/78$ chance)
 * 1 ($2/39$ chance)
 * 1 ($4/78$ chance)
 * 1 ($5/78$ chance)
 * 1 ($5/78$ chance)
 * 1 ($5/78$ chance)
 * Iron equipment from raider drops has 50% chance of being enchanted with random enchantment.
 * Iron equipment from raider drops will be badly damaged.
 * These drop also affected by Looting enchantment.
 * Emerald is both a regular raider drop and an additional raider drop.

Bad Omen
If the player defeats a pillager wearing a banner on their head, the player will receive the bad omen status effect. These pillagers are designated as patrol or outpost captains, depending on whether they spawned in a patrol or at an outpost. Patrols spawn a single captain along with other Illagers, while outposts can spawn up to 3 captains. Patrol captains and outpost captains will give the Bad Omen effect at level 1, whereas Illager captains in raids do not give Bad Omen. The effect lasts for 100 minutes and will stack to a maximum of level 6 (without using commands). The higher the Bad Omen effect is, the more additional waves will appear in a raid.

Data values
Pillagers have entity data associated with them that contains various properties of the mob.