Skip to main content

/weather

Sets the weather to clear skies, rain, or thunderstorm for an optional duration.

Permission Level
Game Master
Version Added
1.0

Syntax

/weather <clear|rain|thunder> [<duration>]

Parameters

NameTypeRequiredDescription
typeliteralRequiredThe weather type: clear, rain, or thunder.
durationintegerOptionalDuration in seconds (1-1000000). If omitted, a random duration is chosen.

Examples

/weather clear

Sets the weather to clear for a random duration.

/weather thunder 300

Starts a thunderstorm for 5 minutes (300 seconds).

/weather rain 1000000

Sets rain for the maximum duration, effectively permanent until manually changed.

Common Mistakes

Notes

To permanently disable weather, use /gamerule doWeatherCycle false after setting your desired weather. Thunderstorms make the sky dark enough for monsters to spawn during the day.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting