Raid captain

A raid captain is the occurrence of an illager spawning with an ominous 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.

Illager patrols
One raid captain always spawns as part of an illager patrol, either a pillager or vindicator. In Bedrock Edition, if the difficulty is set to easy or normal, raid captains are always pillagers.

Raids
As part of raids a raid captain will spawn as a part of a group of pillagers, and sometimes spawn riding a ravager. The captain will not cause another raid if killed, but when its banner drops, other illagers will rush to grab it.

Pillager outposts
Usually, 1–3 raid captains will also spawn in a pillager outpost - these are always pillagers.

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

General
Upon death, any raid captain can drop:
 * 1 Illager Banner.png ominous 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 will have 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.

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 will have a random durability, and will not be enchanted.

Raider
In Bedrock Edition, raid captains that spawn from raids can additionally drop: And has ?% chance to drop one of these items:
 * 0-1 (up to 4 with looting III)
 * 2-3 (up to 6 with looting III)
 * 4-5 (up to 8 with looting III)
 * (enchantment level 30)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)
 * (will be badly damaged; may have a random enchantment)

Behavior
Raid 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 raid captain is killed by a player, the player will be inflicted with 1 level of the Bad Omen effect, which can cause a raid to occur if they enter a village. The captain will drop its ominous banner‌ as well, and other illagers nearby will try to pick up that banner and become the next captain.

Raid captains are designated differently, depending on whether they spawned at a outpost or in an illager patrol. Both patrol and outpost captains grant one level of Bad Omen when killed.

Data values

 * Individual entity IDs
 * Pillager:
 * Vindicator:
 * Evoker:


 * Entity tag
 * Pillagers, vindicators, and evokers:

Trivia

 * Despite raid captains wearing the Ominous Banner‌ on their heads, they actually wear it in chestplate slot.
 * Though illusioners are unused, they can also be spawned as a raid captain.

Issues
레이드 대장 袭击队长