1. Clear the weather
The most-used command in this group — stops rain that is already falling
/weather clear
What it does Will change the weather to clear and let the game pick a random duration.
Set the weather — clear, rain, or thunder — with an optional duration
The examples below come out of the same generator as the form above, so the commands and explanations always match what the tool produces. Copy one and adjust it from there
The most-used command in this group — stops rain that is already falling
/weather clear
What it does Will change the weather to clear and let the game pick a random duration.
Give a duration to control how long it rains; leave it out and the game picks a random length
/weather rain 300
What it does Will change the weather to rain for 300 seconds.
For atmosphere in an adventure map, or to test systems that only run during a storm
/weather thunder 600
What it does Will change the weather to thunder for 600 seconds.
This is the first example above, run through every edition and version this tool supports. Versions that produce the same result share a row
Every version this tool supports produces the same result, so a command you copy works without version-specific edits
/weather clear