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. $$, a pillager raid captain can be spawned using the command, and a vindicator raid captain can be spawned using  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.

$$, only pillagers and passive mobs may spawn within a pillager outpost spawn area. Pillagers may spawn on any valid opaque block as long as the sky light level is above 8, and the block light level is below 8, but can also spawn on grass or sand blocks regardless of block light level.

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, unaffected by Looting.
 * 0–1 if killed by the player, with the maximum increased by 1 per level of Looting.

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 unenchanted.

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 ($$ chance)
 * 2–3 ($$ chance)
 * 4–5 ($10/39$ chance)
 * 1 ($20/78$ chance)
 * 1 ($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)
 * Raiders drop iron equipment in a damaged state, and the equipment has 50% chance of being enchanted with random enchantment.
 * These drops are also affected by Looting enchantment.
 * An 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 does not give a Bad Omen). The captain drops its ominous banner as well; another illager nearby can pick it up 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, the Bad Omen level remains at one and the effect timer does not reset.

ID