Choose a command Available editors: 23 / 23

Choose a command or select its information icon to see how it works.

Players and items

World and building

Display and game systems

/weather

Editor available

What does it do?

Want sunshine for building or a thunderstorm for a spooky adventure? This command changes the weather in the world.

When is it useful?

Useful for atmospheric events, building, and filming.

Example

/weather clear

What will happen?

The weather becomes clear.

Good to know

Rain and snow appear differently depending on the biome.

Minecraft Java ยท 1.16+

/weather

Choose clear skies, rain or thunder. Set a duration and control the weather cycle.

Total visits 47My visits 0

Weather settings

Weather type

Generated commands

โ€”

What happens in-game

Examples
How to stop rain

Choose Clear. To keep it clear, choose Lock weather and run both lines in order. Select Resume weather cycle to return to natural weather.

Why it snows instead of raining

Rain enables precipitation. Cold biomes show snow, and dry ones may show none. To summon lightning at a specific location, use /summon minecraft:lightning_bolt.

A one-minute thunderstorm

Choose Thunder, Custom duration, and enter 60 seconds. Before Java 1.19.4 the command is /weather thunder 60. From 1.19.4 it is /weather thunder 60s.

FAQ Frequently asked questions 30 questions
Essential questions 5
What is /weather used for?

It selects clear skies, rain or thunderstorms in the world and supports an optional weather duration.

How do I stop rain?

Use /weather clear. The command sets clear weather when the executor has sufficient permissions.

How do I start rain?

Run /weather rain. Precipitation may appear as snow instead of rain in cold biomes.

How do I start a thunderstorm?

Run /weather thunder. The weather state may include lightning and changes to world lighting.

Can I summon snow with a separate option?

There is no separate snow argument. Snow occurs as precipitation in suitable cold biomes.

Syntax and arguments 5
What is the /weather syntax?

Java Edition uses /weather <clear|rain|thunder> [duration]. The duration argument is optional.

Which weather modes exist?

The main modes are clear for clear skies, rain for precipitation and thunder for thunderstorms.

What happens when duration is omitted?

The game selects a random duration according to the weather type rather than making it permanent.

Which units can duration use?

Modern Java supports t for ticks, s for seconds and d for game days. Unsuffixed values default to ticks.

How many ticks are in one second?

At normal game speed, one second corresponds to twenty game ticks. For example, 60s equals 1200t.

Practical examples 5
How do I set clear weather for one minute?

Use /weather clear 60s. The s suffix explicitly specifies a duration in seconds.

How do I make it rain for two minutes?

Run /weather rain 120s. This sets rainy weather for the specified duration.

How do I start a thunderstorm for 1200 ticks?

Use /weather thunder 1200t. At normal server speed, this corresponds to about one minute.

How do I set clear skies for one game day?

Use /weather clear 1d. The d suffix represents one game day of 24000 ticks.

How do I immediately stop a thunderstorm?

Run /weather clear. The new weather command replaces the current state without waiting for the storm to end.

Advanced usage 5
Can I freeze the weather cycle?

In Java 1.21.11 use the appropriate advance_weather gamerule after selecting the desired state.

Why does weather look different between biomes?

Rainy conditions can produce rain, snow or no visible precipitation depending on biome temperature and conditions.

Why is rain not visible in the Nether?

The Nether does not display ordinary rain or snowfall in the same way as the Overworld.

Does weather influence gameplay mechanics?

Yes. Rain and thunderstorms affect some mob behavior, fire interactions and other gameplay systems.

Can weather be controlled during events?

Yes. Commands can control event atmosphere, but weather changes may affect other players on the server.

Troubleshooting 4
Why is rain invisible after /weather rain?

Check the biome and dimension. Some locations do not display rain even when rainy weather is active.

Why does rain return after clear weather?

If the weather cycle is enabled, the weather may change again when the clear period ends.

Why does Minecraft reject the duration?

Check the numeric value and time-unit suffix. The value must satisfy modern Java duration restrictions.

Does Java support /weather query?

No. Standard Java Edition syntax uses clear, rain and thunder, while the query branch belongs to Bedrock.

Minecraft versions 3
When did the duration syntax change?

Java Edition 1.19.4 adopted time arguments. Older examples using unsuffixed seconds can behave differently.

Are time units identical in Java and Bedrock?

No. The editions process duration differently, so examples must match the intended game edition.

Can the command run outside the Overworld?

Recent Java versions permit execution in other dimensions, but ordinary precipitation may still be invisible there.

Permissions and safety 3
What permissions does /weather require?

Java Edition normally requires permission level 2. Global weather changes should be controlled on shared servers.

Why can thunderstorms threaten structures?

Lightning can affect entities and nearby blocks. Consider building locations before starting a thunderstorm.

How do I manage server weather safely?

Record the original settings, notify players and first test the intended weather change in a separate world.

Minecraft Wiki reference

Reviews for this page

No published reviews yet.

All WopBlockStudio reviews

Rate this tool

Did this tool work for you? Tell us what went well or what could improve.

Sign in to leave a review
Rating from 1 to 5