Raid captain

A raid captain is the occurrence of an illager spawning with an Ominous Banner ($$) / Illager Banner ($$) on top of its head, usually a pillager or vindicator, or rarely $$ an evoker.

Spawning
Raid captains spawn in the same conditions and occurrences of any illager, with no special occasions having one spawn and one spawning being completely randomized. They can be spawned using the command $$.

Patrols
One raid captain always spawns as part of a patrol: either a pillager, or $$ on Hard difficulty, a vindicator.

Raids
As part of raids $$, a raid captain spawns as a part of a group of pillagers, and sometimes spawns riding a ravager. The captain does not cause another raid if killed, but when its banner drops, other illagers rush to grab it. $$, raid captains are unused and cannot spawn during raids, but the code for them is present.

Pillager outposts
Usually, 1–3 pillager raid captains also spawn in a pillager outpost.

General
Upon death, any raid captain can drop:
 * 1 Illager Banner.png Ominous/Illager banner‌, unaffected by Looting and is always dropped.

Pillager

 * 0–2 s, dropping more with the presence of Looting, up to 5.
 * Its (may 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 has a random durability and may 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. It may be enchanted.

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.

Illusioner

 * 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 has a random durability, and is enchanted.

Raider
$$, raid captains that spawn from raids can additionally drop: An additional drop is dependent on difficulty, with a 65% chance of dropping on easy and normal, and an 80% chance of dropping on hard. They can drop one of the following items: 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)
 * 1 ($5/78$ chance)
 * Iron equipment from raider drops has 50% chance of being enchanted with random enchantment.
 * Iron equipment from raider drops are badly damaged.
 * These drops are also affected by Looting enchantment.
 * Emerald is both a regular raider drop and an additional raider drop.

Java Edition
Raid captains usually act the same as if they were a normal illager, but other illagers follow behind them (except for outpost captain), and usually the captain takes the lead ahead of the other illagers. Once a raid captain is killed by a player, the player is inflicted with 1 level of the Bad Omen effect, which can cause a raid to occur if they enter a village (unless the raid captain actually spawned in a raid, in which case it will not give a Bad Omen). The captain will drop its ominous banner‌ as well, and other illagers nearby will try to pick it up in order to become the next captain.

Both patrol and outpost captains grant one level of Bad Omen when killed, but captains found in raids themselves never give Bad Omen.

Bedrock Edition
Raid captains have the same behavior in Bedrock Edition as they do in Java Edition, but the maximum level of Bad Omen raid captains can give is one level, as Bad Omen I is the only level available. If a player with Bad Omen kills another raid captain, not only does the Bad Omen level remain at one, the effect timer does not reset.

Trivia

 * Though illusioners are unused, they can also be spawned as a raid captain.

Issues
Räuberhauptmann 襲撃隊の大将 습격 대장 袭击队长