Skip to content
[/craft]

Disable Raids

Stop pillager raids from starting

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Turns off pillager raids entirely — walking into a village with Bad Omen no longer triggers the raid bar. Great for peaceful village builds where an accidental captain kill would otherwise spell disaster. Undo with /gamerule disableRaids false.

/gamerule disableRaids true
27 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Bad Omen no longer starts raids at villages.
  4. Run it again with false to re-enable raids.

Related commands

Keep your items when you die instead of dropping them

/gamerule keepInventory true

Freeze time so it's permanently daytime

/gamerule doDaylightCycle false

Stop rain and keep the weather clear

/gamerule doWeatherCycle false

Stop creepers, endermen, and other mobs from changing blocks

/gamerule mobGriefing false

Turn off fall damage

/gamerule fallDamage false

Stop fire from spreading to nearby blocks

/gamerule doFireTick false