How to stop rain in Minecraft PE

Show

weather

Permission level
required

2‌[JE only]
1‌[BE only]

Restrictions

Cheat only

Sets the weather.

Contents

  • 1 Syntax
  • 2 Arguments
  • 3 Result
  • 4 Output
  • 5 Examples
  • 6 History

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.
  • rain – Set the weather to rain (or snow in cold biomes).
  • thunder – Set the weather to a thunderstorm (or blizzard in cold biomes).

JE:<duration>: integer
BE: duration: int: int

Must be a 32-bit integer number. In Java Edition, it must be between 0 and 1000000 (inclusive). In Bedrock Edition, it should be between 0 and 1000000 (inclusive). Specifies the time in seconds‌[Java Edition only]/in game ticks‌[Bedrock Edition only] for the specified weather to last. In Java Edition, if not specified, the duration defaults to 5 minutes. If 0, resets to random weather duration. In Bedrock Edition, if not specified or 0, the duration defaults to a random value between 300 seconds and 900 seconds.

Result[]

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Unparseable
duration: int is lower than 0 or higher than 1000000 N/A Failed
On successChanges the weather for the specified duration (in seconds), or outputs current weather state‌‌[Bedrock Edition only].

Output[]

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the specified duration(if unspecified, defaults to 5) multiplied by 20
Bedrock EditionOn fail0N/AN/A
On success1N/AN/A

Examples[]

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

History[]

Java Edition
1.4.212w32aAdded /weather.
Pocket Edition Alpha
v0.16.0build 1Added /weather.

Commands

View at: Template:Commands/content [edit]

Why won't the rain stop? from MCPE

If you're tired of getting caught in the rain, here's how to turn off rain in Minecraft temporarily or permanently using cheats.

The information in this article applies to Minecraft for all platforms.

To instantly make it stop raining, enable cheats and use the clear weather command:

  1. Pause the game and select Settings.

  2. Select Game under World settings, then choose Creative under Default Gaming Mode.

  3. Scroll down to the Cheats section and enable Activate Cheats. Close the Settings menu.

  4. Open the chat window. How you open the chat window depends on your platform:

    • Windows or Mac: Press T.
    • Xbox: Press Right on the D-Pad.
    • PlayStation: Press Right on the D-Pad.
    • Nintendo Switch: Press Right on the D-Pad.
    • Mobile: Tap the speech bubble icon.
  5. Enter the command /weather clear.

  6. In a few seconds, the weather will transition from rainy to sunny.

If you want it to always be sunny in Minecraft, disable the weather cycle permanently.

  1. Pause the game and select Settings.

  2. Select Game under World settings, then choose Creative under Default Gaming Mode.

  3. Scroll down to the Cheats section and enable Activate Cheats, then disable the Weather Cycle toggle. Close the Settings.

  4. The skies will become clear and the weather will remain sunny.

    Alternatively, open the chat window and enter /gamerule doWeatherCycle false to turn off the weather cycle.

To turn on rainfall, enable cheats and use the command /weather rain in the chat window. To make it storm, enter /weather thunder.

If you have weather disabled, go back to Settings > Game > Cheats and enable the Weather Cycle toggle. Alternatively, enable cheats and enter /gamerule doWeatherCycle true in the chat window.

FAQ

  • What is the chance of rain Minecraft?

    On any given day, there is about a 1-in-7 chance of rain in Minecraft. Rain can last for half a day or a full day, but the skies will always be clear by daybreak.

  • What does rain do in Minecraft?

    Rain puts out fires and makes crops grow faster. More fish will also appear in the water, so rainy days are a good time to go fishing in Minecraft.

Thanks for letting us know!

Subscribe

Tell us why!