Illager

An illager is a type of hostile mob that regularly spawns in woodland mansions, patrols, raids, and pillager outposts. All illagers are hostile toward players, villagers, wandering traders and iron golems.

Classification
There are three specific criteria for a mob to be considered an illager:
 * "Johnny" vindicators do not attack the mob.
 * The mob cannot be damaged by evoker fangs or a ravager's roar.
 * The mob does not fight back when hit by a missed arrow shot by a pillager or illusioner.

Ravager jockeys
A Ravager jockey is an illager that spawns riding a ravager. The riders can be pillagers, vindicators, or evokers.

A ravager ridden by a pillager spawns at raids in Wave 5. Ravagers ridden by vindicators and evokers spawn at Wave 7.
 * Java Edition

A ravager ridden by pillager spawns at raids in Wave 5 and 7. Ravagers ridden by evokers also spawn at Wave 7. The ravagers ridden by vindicators do not spawn in raids, but can be spawned only with commands.
 * Bedrock Edition

Occurrences
Illagers spawn naturally in patrols and raids. They always spawn naturally in groups while in patrols and raids, or inside their structures.

Only the pillager, vindicator, and evoker spawn naturally.

Vindicators and evokers that spawn naturally in woodland mansions do not despawn and respawn.

Ravagers spawn exclusively in raids.

Raid Captain
Illagers sometimes have their own leader. Any illager has a small chance to be a raid captain with an (even when using a spawn egg, or when summoned by commands). Raid captains can sometimes spawn during raids.

Event
Illagers have their own in-game events, led by raid captains:
 * Patrol &mdash; a naturally spawned group of five pillagers roaming the landscape. The group can include a vindicator on hard difficulty $$.
 * Raid &mdash; a wave after wave of illagers and witches spawn and attack a village with ominous horn blares. An Illager captain spawns in each wave with other illagers, usually with a vindicator as the captain. It is triggered when a player with the status effect enters a village. Raiders and villagers usually have different behavior in a raid. In Bedrock Edition, any killed raiders drops special loot. Raiders celebrate after defeating a village.

Effect
Killing a raid captain in patrols, in a mansion, or in an outpost inflicts the player with the effect, which triggers a raid when that player enters a village with the effect still active.

Culture
Illagers have an alphabet called, a rune-like font from Minecraft Dungeons. The game also seems to have a lore on the Illagers being "expelled" from Villages for their "unspeakable activities".

Java Edition
All illagers ignore baby villagers, but may still hit them by accident.

Illagers, ravagers, and witches do not retaliate when hit by a missed arrow shot by a pillager or illusioner.

A vindicator can disable the player's shield with its iron axe attack, even when riding a mob. If a player fails to land a melee attack on a vindicator that rides a ravager during a raid in Hard difficulty, the vindicator rider can deal great damage to a player without protection from a shield.

All illagers, ravagers, and witches gain three seconds of themselves when the bell rings.

Reinforcements
On all difficulty levels, damaged illager mobs call all other same type illagers within a 67×67×21 to 111×111×21 area centered on the attacked illager to target the attacker. For example, Pillagers attack a skeleton that injures another pillager, but pillagers do not aid a Vindicator hit by a skeleton.

Raids
Vindicators can open doors like villagers during raids. They can sometimes break a wooden door in normal or hard difficulty, if they cannot open the door successfully.

During raids, illagers pick up ominous banners dropped by raid captains who die in this wave. They do not pick up the banner from last wave remains or if thrown from player.

Patrol
All illagers, ravagers, and witches joins nearby patrol actively. If a "Johnny" vindicator joins a patrol, all patrol members assume the Johnny vindicator's aggressive behavior, attacking any non-illager mob including the witches and ravagers member. Ravagers do attack other ravagers even itself to death and the witches keep throws the healing potions each other.

Bedrock Edition
Vindicators and evokers do not despawn and passive on Peaceful difficulty.

All illagers and vexes ignore baby villagers, but may still hit them by accident.

A dispenser can equip an illager with armor. However, only helmets and chestplates are visible on pillagers and vindicators, while evokers never have any armor visible.

Pillagers and ravagers do not purposefully attack other illagers. However, non-pillagers and non-ravagers do attack pillagers who hit them with missed arrows. Vindicators and evokers retaliate against a pillager if the pillager accidentally hits the vindicator or evoker with an arrow, although the evoker fang deals no damage to pillagers. Vexes summoned by an injured evoker can still attack the pillager.

A "ravager with vindicator rider" is unused $$. It can be summoned by a spawn event command without raid configuration.

After Texture Update, illagers still use the java 1.14 snapshot texture, including some of the marketplace textures (for example, vindicator's eyes and pillager's arms). Also, a ravager's leg texture in Bedrock Edition is different from that in Java edition.

Trivia

 * Illager structures are always themed around dark oak wood.
 * All illagers' eyes are green with the exception of vindicators, which have blue eyes. In the Texture Update, vindicators and illusioners were changed have to green eyes, but in the Java snapshot 18w47b the color of the vindicator's eyes was turned to blue again.
 * For the Minecon mob vote of 2020, there was a candidate to add in the Iceologer, an Illager from Minecraft Dungeons. However, it was eliminated in the 2nd round, surpassing the Moobloom but beaten by the Glow Squid.
 * Witches allied with the illagers during raids. Cory Scheviak jokingly explained that witches spawn in raids are just along for the ride.