Disable Pillager Patrols
Stop pillager patrols from spawning
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Stops roaming pillager patrols from spawning in the world. No more surprise crossbow fire while you farm, and no accidental Bad Omen from killing a patrol captain. Existing patrols remain until dealt with; only new spawns are disabled.
/gamerule doPatrols false25 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.
- New pillager patrols stop spawning.
- Clear out any patrol already wandering nearby — the rule only stops future spawns.
Related commands
Keep your items when you die instead of dropping them
/gamerule keepInventory trueStop creepers, endermen, and other mobs from changing blocks
/gamerule mobGriefing false