Disable Raids
Stop pillager raids from starting
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Turns 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 true27 characters
- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Bad Omen no longer starts raids at villages.
- Run it again with false to re-enable raids.
Related commands
Keep Inventory On Death
Keep your items when you die instead of dropping them
Always Day / Stop Time
Freeze time so it's permanently daytime
Clear Weather / Always Sunny
Stop rain and keep the weather clear
Stop Mob Griefing
Stop creepers +2 more
Disable Fall Damage
Turn off fall damage
Turn Off Fire Spread
Stop fire from spreading to nearby blocks