OGTOOLS

Minecraft /weather command

Switches between clear weather, rain and thunderstorms.

🌍 World and time Operator (level 2) Needs cheats enabled Java Edition 26.3

Syntax

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

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
clear / rain / thunder Clear, rainy or thundering weather.
[<duration>] In ticks; you can also add a suffix, as in 600s, with s (seconds) or d (in-game days). Leave it out and the game picks a random duration.

Examples

/weather clear

Stops the rain.

/weather thunder 600s

Makes a 10-minute thunderstorm, and lightning may strike. Type 600 without the suffix and it lasts 30 seconds.

Good to know

  • To turn weather off entirely, use /gamerule advance_weather false (formerly doWeatherCycle).
  • In cold biomes, snow takes the place of rain.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).

Related commands

🌍 More World and time

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.