Updated:

Update weather game rule (advance_weather)

The "Update weather" rule is called advance_weather in Java 1.21.11 and later, and doWeatherCycle in 1.21.10 and earlier. Controls whether the weather changes on its own.

Basic data

NameUpdate weather
Rule name (Java 1.21.11+)advance_weather
Old name (Java 1.21.10 and earlier)doWeatherCycle
Bedrock namedoweathercycle
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule advance_weather false

Reset to the default (true)

/gamerule advance_weather true

Check the current value

/gamerule advance_weather

Java 1.21.10 and earlier

/gamerule doWeatherCycle false

Bedrock Edition

/gamerule doweathercycle false

Notes

Questions

Typing doWeatherCycle gives an error

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

How do I check the current value?

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

Other game rules