Raid

A raid is a group of illagers that spawn in villages when a player with the Bad Omen status effect enters.

Spawning
Raids spawn near villages when a player with the status effect enters. This status effect is obtained for 30 seconds when a player kills an illager patrol leader (the mob wearing the illager banner). If a player uses commands to give themself a Bad Omen effect with a higher level (for example,, more illagers will spawn.

Behavior
Upon entering a village, the effect will immediately go away and a bossbar with the name "Raid" will appear. The bar will go down for every mob killed. When there are less than three mobs left, it will show how many there are.

If the village being attacked by a raid no longer registers as a village (i.e. all villagers were killed or all doors were broken), the raid will end.

If a player kills the patrol leader while in a village, they will not get the status effect and a raid will start briefly.

During a raid, villagers will not trade until the raid is over.

History
Raid Набег