Updated:

Spawn Wardens game rule (spawn_wardens)

The "Spawn Wardens" rule is called spawn_wardens in Java 1.21.11 and later, and doWardenSpawning in 1.21.10 and earlier. Controls whether wardens spawn from sculk shriekers.

Basic data

NameSpawn Wardens
Rule name (Java 1.21.11+)spawn_wardens
Old name (Java 1.21.10 and earlier)doWardenSpawning
Bedrock nameNo rule with the same name
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule spawn_wardens false

Reset to the default (true)

/gamerule spawn_wardens true

Check the current value

/gamerule spawn_wardens

Java 1.21.10 and earlier

/gamerule doWardenSpawning false

Notes

Questions

Typing doWardenSpawning gives an error

In Java 1.21.11 and later the rule is called spawn_wardens. Write /gamerule spawn_wardens … instead. Worlds on 1.21.10 and earlier keep the old name.

How do I check the current value?

Run /gamerule spawn_wardens without a value. The current value is shown in chat.

Other game rules