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: Difference between revisions

From SAS Gaming Wiki
imported>MinecraftBedrockPlayer7
mNo edit summary
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 4: Line 4:
* 2 {{only|java|short=1}}
* 2 {{only|java|short=1}}
* 1 {{only|bedrock|short=1}}
* 1 {{only|bedrock|short=1}}
| others = [[Minecraft:Cheat]] only{{only|bedrock|short=1}}
| others = Cheat only{{only|bedrock|short=1}}
}}
}}


Sets the [[Minecraft:weather]]. {{IN|bedrock}}, it can also be used to get current weather.
Sets the weather. {{IN|bedrock}}, it can also be used to get current weather.


==Syntax==
==Syntax==
Line 22: Line 22:
<code>clear|rain|thunder</code>
<code>clear|rain|thunder</code>
:* <code>clear</code> – Set the weather to clear. And it will turn into thunder after the clear weather ends.
:* <code>clear</code> – Set the weather to clear. And it will turn into thunder after the clear weather ends.
:* <code>rain</code> – Set the weather to [[Minecraft:rain]] (or [[Minecraft:snowfall]] in cold [[Minecraft:biomes]]). And it will turn into clear after the rain ends.
:* <code>rain</code> – Set the weather to rain (or snowfall in cold biomes). And it will turn into clear after the rain ends.
:* <code>thunder</code> – Set the weather to a [[Minecraft:thunderstorm]] (or blizzard in cold biomes). And it will turn into clear after the thunder ends.
:* <code>thunder</code> – Set the weather to a thunderstorm (or blizzard in cold biomes). And it will turn into clear after the thunder ends.
{{argument|duration|time|duration: int|int}}
{{argument|duration|time|duration: int|int}}
: Specifies the time for the specified weather to last.
: Specifies the time for the specified weather to last.
Line 81: Line 81:
{{Navbox commands}}
{{Navbox commands}}


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

Revision as of 15:45, 9 April 2026

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