Add an infobox regarding this article too.
A raid (also referred to as an illager raid) is a group of hostile illagers who may spawn and attack a village.
If a player affected with the Bad Omen status Effect enters a village, a raid will spawn nearby. Illagers always launch a raid on the first village the player enters if they recently killed an illager captain in the wilderness.
Two waves attack for each level of bad omen applied to the player. Each wave consists of one captain, 1–2 ravager and several pillagers, vindicators, evokers and/or witches. Illagers attack the player and all villagers with crossbows, axes, spells, and tusks. Raid progress is shown by a progress bar at the top of the screen, similar to the Wither and the Ender Dragon boss fights.
During a raid, only players affected with bad omen can trade with villagers. Otherwise, villagers will emit blue particles as if they are sweating.
Every illager mob slain by the player will decrease the health bar of the raid.
When the raid is over, the player will receive the Hero of the Village status effect, allowing cheaper trades.
As of Java Edition 1.14.3, you can disable raids by using /gamerule disableRaids