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
| Name | Update weather |
|---|---|
| Rule name (Java 1.21.11+) | advance_weather |
| Old name (Java 1.21.10 and earlier) | doWeatherCycle |
| Bedrock name | doweathercycle |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule advance_weather falseReset to the default (true)
/gamerule advance_weather trueCheck the current value
/gamerule advance_weatherJava 1.21.10 and earlier
/gamerule doWeatherCycle falseBedrock Edition
/gamerule doweathercycle falseNotes
- Java 1.21.11 renamed game rules to lower case with underscores. If an older command or a map description uses the old name, rewrite it for your version.
- Game rules are saved per world. On a server, a new world starts with the default values again.
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.