MineToolsminetools.cn · Minecraft Java Tools

Bad Omen effect command

minecraft:bad_omenEnglish name Bad Omen

Bad Omen (minecraft:bad_omen) is a neutral effect.Entering a village turns this into a Raid Omen, which then triggers a raid.Here are commands to give, clear, and create potions.

Common Commands

Give the nearest Player 30 seconds (level I)
/effect give @p minecraft:bad_omen 30 0
Level II, lasts 1 minute
/effect give @p minecraft:bad_omen 60 1

Levels start at 0: 0 is level I, 1 is level II

All players, infinite duration, hide particles
/effect give @a minecraft:bad_omen infinite 0 true
Clear Bad Omen
/effect clear @p minecraft:bad_omen
Bad Omen Potion (3 minutes)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:bad_omen",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.bad_omen",italic:false}]

Duration is measured in ticks (20 ticks = 1 second)

Gain while standing on a Block of Gold
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:bad_omen 2 0 true

Run continuously in a repeating command block

Set duration and level in the Effect Generator

Basic Information

Effect ID
minecraft:bad_omen
Type
Neutral
Effect
Entering a village turns this into a Raid Omen, which then triggers a raid

Other Neutral Effects

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.