Skip to content
[/craft]

Set Weather to Clear

Stop rain right now

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Instantly clears rain and thunder. Unlike the doWeatherCycle gamerule (which freezes weather permanently), this is a one-shot fix — the rain stops now, but weather resumes cycling later. Add a number for duration in seconds.

/weather clear
14 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. The sky clears immediately.
  4. Run /weather clear 1000000 to keep it clear for ~11 days of real time.

Related commands

Become nearly invincible

/effect give @p resistance 999999 255 true

Instantly remove every mob from the world except players

/kill @e[type=!player]

Give yourself XP levels for enchanting

/experience add @p 30 levels

Switch to Peaceful mode so hostile mobs don't spawn

/difficulty peaceful

Get coordinates of the nearest village structure

/locate structure village

Locate the stronghold with the end portal

/locate structure stronghold