Bad Omen

Bad Omen is a status effect that causes a raid to appear when an afflicted player enters a village.

Effect
$$, Bad Omen's potency determines the number of waves of the raid (and thus final wave difficulty) that the player triggers upon entering a certain radius around a bed that a villager has claimed. If the raid results in player victory, the Hero of the Village's potency equals the Bad Omen's potency (capped at level 6).

$$, regardless of Bad Omen level, it always has the same effect.

Once the player gets the Bad Omen effect $$, an animation similar to the one displayed when dying with the totem of undying appears, showing the effect's symbol rotating on the screen.
 * The same applies when receiving the Hero of the Village effect.

Bad Omen can be removed through all conventional methods, such as drinking milk.

Immune mobs
Boss mobs are immune to Bad Omen; however, only players can trigger raids.

ID
Java Edition:

Bedrock Edition:

Trivia

 * If the player leaves a village during a raid, receives Bad Omen, and returns to the village, the effect is canceled but has no effect on the existing raid.
 * A player cannot receive Bad Omen when indirectly killing a Patrol Captain. This includes burning with fire or lava, drowning, explosions, and suffocation, among other things. This also includes killing a captain with a fireworks loaded crossbow.
 * If the player kills a captain while in a village, the animation, raid bar, and Bad Omen effect appear simultaneously. The effect disappears immediately after, then "flashes" again approximately 1 second later.