Skip to content
[/craft]

raids

booleanJava 26.2 only

Controls whether raids can occur. When false, raids are completely disabled — players with Bad Omen entering a village will not trigger a raid. Note: this rule is inverted from the old disableRaids rule (disableRaids true = raids false now).

Enable raids

Raids can be triggered normally when a player with Bad Omen (or Raid Omen) enters a village (default behavior).

Java/gamerule raids true

Disable raids

Raids are disabled. Bad Omen and Raid Omen have no effect. Villages are safe.

Java/gamerule raids false

Default: true. Restore with /gamerule raids true

What raids does

Controls whether raids can occur. When false, raids are completely disabled — players with Bad Omen entering a village will not trigger a raid. Note: this rule is inverted from the old disableRaids rule (disableRaids true = raids false now).

raids is a Java Edition-only gamerule and is not available in Bedrock.

Frequently asked questions

Is raids available in Bedrock?
No — this is a Java Edition-only gamerule.
What happened to disableRaids?
In snapshot 25w44a, disableRaids was renamed to raids and the logic was INVERTED. The old /gamerule disableRaids true (disable raids) is now /gamerule raids false. Check your value carefully when migrating.
Does /gamerule raids false remove an ongoing raid?
Existing raids should stop, but apply this before a raid starts to be safe.

Related gamerules

All Gamerule commandsJava vs Bedrock guide