/

/weather

op 2World

/weather sets the current weather and, optionally, how long it lasts in seconds. To stop weather changing at all, turn off the doWeatherCycle game rule.

Commandready
14
/weather clear
Press C to copy
optional
seconds

Examples

  • Clear for 10 minutes
    /weather clear 600

Common questions about /weather

How do I stop it raining permanently?

Run /weather clear, then turn off the weather cycle game rule so nothing new is rolled — advance_weather on 1.21.9 and later, doWeatherCycle before that.

Does weather exist in the Nether and the End?

No. Only the Overworld has weather, so /weather changes nothing visible in the other dimensions even though the command still succeeds.