Pillager

"Aaah, the village. Once a place of peace, a nexus of happiness, a safe haven for everyone to soothe their souls in a never-ending mantra of “HRMM!”. Who in their right mind would dare to ruin this sanctuary of perfect balance? Now, the easy answer would be the crossbow-wielding Pillagers – the all-new threat of the Village & Pillage update."

- Per Landin

Pillagers are hostile illager mobs equipped with crossbows that spawn as part of illager patrols and around pillager outposts.

Patrols
5 pillagers spawn in patrols. Patrols spawn naturally after 5$1/2$ in-game days. They spawn only at night independently of structures, including villages and pillager outposts (i.e. they still spawn in a world without generated structures).

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

Pillager outposts
Pillagers naturally spawn and respawn in pillager outposts. $$ they spawn in a 72&times;54&times;72 block area centered on the top floor (with the chest). $$ they spawn at or below a particular location in the outpost, choosing the highest opaque block with a non-solid block on top and spawning on the northwest corner.

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

Behavior
Pillagers are armed with crossbows and attack by shooting arrows at nearby players, iron golems, snow golems, villagers and wandering traders. $$, pillagers do not attack baby villagers. As they shoot an arrow every 3 seconds up to 8 blocks away, and just like Zombies, pillagers follow their target from 40 blocks away. Pillagers never intentionally attack one another, even if one is shot by another pillager, it does not start dueling.

When a player hits a pillager with any type of projectile, the pillager will begin chasing that player no matter how far away the player may be.

Pillagers do not attack when they do not have any weapons, rather, they walk around instead. Even weaponless, they still frighten villagers, and iron golems still attack them.

If raiding pillagers kill all the villagers in a village, the pillagers and other raiders celebrate their victory by jumping, cheering, and laughing.

$$, the durability of a pillager's crossbow decreases as the pillager uses it. It breaks after shooting more than 250 arrows. No other hostile mobs lose durability on their weapons.

$$, pillagers use melee attacks when fully submerged underwater.

Drops

 * A loaded or unloaded, which has an 8.5% chance to be dropped; this rate increases by 1% per level of Looting (11.5% with Looting III).
 * It has a random durability.
 * It has a 0-10% chance of being enchanted at level 5–19. This is depending on regional difficulty.
 * 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 spawns with an ominous banner above its head and always drops the banner when defeated.

$$
 * 0–2 s, dropping more with the presence of Looting, up to 5.

$$ pillagers spawned by raids can drop:
 * 0–1

$$, the following additional drops from pillagers spawned by raids changes depending on difficulty (65% chance on easy and normal, 80% chance on hard):
 * 0–1 ($10/39$ or 25.6%)
 * 2–3 ($20/78$ or 12.8%)
 * 4–5 ($5/39$ or 5.1%)
 * 1 ($10/78$ or 5.1%)
 * 1 ($2/39$ or 6.4%)
 * 1 ($4/78$ or 6.4%)
 * 1 ($2/39$ or 6.4%)
 * 1 ($4/78$ or 6.4%)
 * 1 ($5/78$ or 6.4%)
 * 1 ($5/78$ or 6.4%)
 * 1 ($5/78$ or 6.4%)
 * 1 ($5/78$ or 6.4%)


 * Notes
 * Iron equipment drops from raids always has a 50% chance of being enchanted with random enchantment level 5-19. A pillager may also have enchantments on books and armor that cannot be normally obtained, such as blast protection and fire protection on the same pair of boots.
 * Iron equipment is always damaged, having from 30 to 90% of the full durability.
 * These drops are affected by the Looting enchantment.
 * Emeralds are both a regular raid drop and an additional drop.
 * Enchanted books have a level 30 enchantment and also can be a treasure enchantment.

Bad Omen
If the player kills a pillager wearing a banner on its head, the player receives the Bad Omen status effect. These pillagers are patrol or outpost captains.

Patrols spawn a single captain, while outposts can spawn 1-3 captains at a time. These captains give the Bad Omen effect at level I, whereas illager captains in raids do not give Bad Omen. The effect lasts for 100 minutes (5 days in-game) and stacks to a maximum of level 6 (without using commands), but can be removed by drinking milk.

The higher the Bad Omen effect, the more additional waves appear in a raid.

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

Trivia

 * $5/78$, a pillager's crossbow eventually breaks if the pillager shoots at the player repeatedly, leaving the pillager with no method of attacking. This causes its behavior to change as well; it walks at random similarly to passive mobs, but always faces any player in the its field of view. The pillager also always holds its arm up, similar to an attacking vindicator.
 * No other mob runs out of durability on their weapon. For example, a skeleton could shoot arrows forever, as its bow does not lose durability.