All commands
๐ŸŒฆ๏ธ
AdminJava โœ“Bedrock โœ“

/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

Syntax
/weather <type> [duration]
commandtargetcoordsvaluerequiredoptional

See it

What it does

A thunderstorm rolls in

Anatomy

Every part, explained

  1. 1
    /weatherCommandRequired

    Sets the current weather.

  2. 2
    <type>TypeRequired

    clear, rain, or thunder.

  3. 3
    [duration]DurationOptional

    How long, in seconds. Optional.

Your turn

Try it yourself

Playground
2 tokens ยท press Enter to run

Copy & paste

Examples

/weather clear

Blue skies, instantly.

/weather rain 600

Ten minutes of rain.

/weather thunder

Lightning and storms.

Avoid these

Common mistakes

โœ•/weather sunny
โœ“/weather clear

The clear-sky keyword is 'clear', not 'sunny'.

โœ•/weather rain 600s
โœ“/weather rain 600

Duration 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

Related commands