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
Revision as of 17:05, 20 November 2025 by imported>MinecraftBedrockPlayer7
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Infobox command

Sets the Minecraft: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 Minecraft:rain (or Minecraft:snowfall in cold Minecraft:biomes). And it will turn into clear after the rain ends.
  • thunder – Set the weather to a Minecraft: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

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