spawn_patrols
booleanJava 26.2 onlyControls whether pillager patrol groups spawn in the Overworld. Patrols are groups of 2–5 pillagers that roam and attack players on sight. Disabling prevents patrols without affecting all monster spawning.
Enable spawn_patrols
Pillager patrols spawn periodically in the Overworld.
Java
/gamerule spawn_patrols trueDisable spawn_patrols
No pillager patrols spawn. Outpost pillagers and other mobs are unaffected.
Java
/gamerule spawn_patrols falseDefault: true. Restore with /gamerule spawn_patrols true
What spawn_patrols does
Controls whether pillager patrol groups spawn in the Overworld. Patrols are groups of 2–5 pillagers that roam and attack players on sight. Disabling prevents patrols without affecting all monster spawning.
spawn_patrols is a Java Edition-only gamerule and is not available in Bedrock.