/weather
Summon sunshine, rain, or a full thunderstorm.
Overview
What is the /weather command?
The /weather command sets the weather to clear, rain or thunder for a chosen duration. It's the fast fix for an endless storm, or a way to force rain for farming, mob behaviour, or atmosphere.
Pair it with /gamerule doWeatherCycle false if you want the weather to stay exactly as you set it.
When to use it: Use /weather to stop a storm, force rain or thunder, or set clear skies for building and screenshots.
At a glance
Syntax
/weather <type> [duration]See it
What it does
Anatomy
Every part, explained
- 1
CommandRequired/weatherSets the current weather.
- 2
TypeRequired<type>clear, rain, or thunder.
- 3
DurationOptional[duration]How long, in seconds. Optional.
Your turn
Try it yourself
Copy & paste
Examples
/weather clearBlue skies, instantly.
/weather rain 600Ten minutes of rain.
/weather thunderLightning and storms.
Avoid these
Common mistakes
/weather sunny/weather clearThe clear-sky keyword is 'clear', not 'sunny'.
/weather rain 600s/weather rain 600Duration is a plain number of seconds - no 's'.
Good to know
Frequently asked questions
- How do you stop rain in Minecraft?
- Run /weather clear to bring back sunshine. Add a duration in seconds to keep it clear, e.g. /weather clear 100000.
- How do you make it rain or thunder?
- Use /weather rain or /weather thunder. Thunder also brings lightning, which can spawn charged creepers.
- How do you lock the weather?
- Set the weather you want, then run /gamerule doWeatherCycle false so it never changes on its own.
Keep going