Raid captain

An Illager captain is the occurrence of a illager spawning with a Illager banner on top of its head, usually a pillager or vindicator.

Spawning
Illager captains spawn in the same conditions and occurrences of any illager, with no special occasions having one spawn and one spawning being completely randomized.

Illager patrols
One illager captain always spawns as part of a illager patrol, either a pillager or vindicator.

Raids
As part of raids sometimes a illager captain will spawn as a part of a group of pillagers. The captain will still grant the player Bad Omen, which can in turn trigger another raid if the player is still in a village boundary.

Pillager outposts
Usually 1-3 Illager captains will also spawn in a pillager outpost, which are always pillagers.

Woodland mansions
Illager captains can also spawn in woodland mansions, which are either vindicators or evokers.

Drops
Upon death, any illager captain can drop:
 * 1 Illager Banner.png illager banner, uneffected by Looting and is always dropped.

Pillager

 * 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 (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.

Vindicator

 * 0–1, with the maximum increasing by 1 for every level of Looting.
 * 8.5% chance of dropping their, which increases by 1 percentage point per level of Looting.

Evoker

 * 1
 * 0–1 if killed by the player.
 * Looting increases the maximum drop of emeralds by 1 per level, up to 4 emeralds.
 * Looting doesn't affect the totem of undying.

Behavior
Illager captains usually act the same as if they were a normal illager, but other illagers behind them will follow them and usually the captain will take the lead ahead of the other illagers. Once a illager captain is killed by a player, the player will be inflicted with the bad omen effect, which can cause a raid to occur. The captain will drop its illager banner as well, and other illagers nearby will try and pick up that banner and become the next captain.

Illager captains are designated differently, depending if they spawned at a outpost or in a illager patrol. Patrol captains will be able to grant atleast 1-3 levels of bad omen, while outpost captains will only be able to grant 1 level.