Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/weather

From SAS Gaming Wiki

Template:Infobox command

Sets the weather. Template:IN, it can also be used to get current weather.

Syntax

  • Java Edition
weather (clear|rain|thunder) [<duration>]
  • Bedrock Edition
weather <clear|rain|thunder> [duration: int]
weather query

Arguments

clear|rain|thunder

  • clear – Set the weather to clear. And it will turn into thunder after the clear weather ends.
  • rain – Set the weather to rain (or snowfall in cold biomes). And it will turn into clear after the rain ends.
  • thunder – Set the weather to a thunderstorm (or blizzard in cold biomes). And it will turn into clear after the thunder ends.

Template:Argument

Specifies the time for the specified weather to last.
Template:IN, if not specified, the duration defaults to a random value. The range of the random value depends on the specified weather type:
  • clear - 12000 to 180000 ticks (both inclusive). i.e. 10 to 150 minutes (both inclusive).
  • rain - 12000 to 24000 ticks (both inclusive). i.e. 10 to 20 minutes (both inclusive).
  • thunder - 3600 to 15600 ticks (both inclusive). i.e. 3 to 13 minutes (both inclusive).
Template:IN, the time is specified in game ticks. If 0 or not specified, the duration defaults to a random value between 300 seconds and 900 seconds.
Template:Arg desc And it should be between 0 and 1000000 (inclusive).

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

Examples

  • To get clear weather for one Minecraft day: /weather clear 24000
  • To make it rain, but let it end at its own pace: /weather rain

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

External links

Navigation

Template:Navbox commands

de:Befehl/weather es:Comandos/weather ja:コマンド/weather lzh:令/weather pt:Comandos/weather ru:Команды консоли/weather uk:Команди консолі/weather zh:命令/weather