Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Minecraft Weather Commands for Java and Bedrock

Use /weather to clear skies, start rain, or summon thunder. Learn how to enable commands, set a duration, and keep the weather from changing.

Table of Contents

Open chat and enter /weather clear to stop rain or thunder. Use /weather rain to start precipitation or /weather thunder to start a storm. You need commands enabled in your world or the required permissions on a server.

Set weather for a specific duration

EditionExampleDuration format
Recent Java Edition/weather rain 30sUse s for seconds, t for ticks, or d for Minecraft days.
Bedrock Edition/weather rain 600Enter game ticks. At the usual 20 ticks per second, 600 ticks is 30 seconds.

Older Java versions handled bare numbers differently, so use an explicit unit on current Java versions. See the Java and Bedrock command reference or Microsoft’s Bedrock command documentation.

Choose a weather type or stop natural changes

  • /weather clear stops precipitation and thunder.
  • /weather rain brings rain in suitable biomes and snow in cold areas. A dry biome may show no precipitation.
  • /weather thunder enables thunderstorm conditions. Try it in an area with open sky and suitable weather to see the effect.

To keep the weather steady, set the weather you want, then turn off natural weather cycling. In Bedrock, look for Weather Cycle in world settings or use /gamerule doweathercycle false. In Java, use tab completion after /gamerule to find the weather-cycle rule for your release. Older Java releases use doWeatherCycle. Set the same rule to true when you want weather to change naturally again.

Enter a weather command in your world

  1. Java: Enable commands when creating the world. In many existing single-player worlds, Open to LAN in the pause menu lets you temporarily enable commands for the current session. Starting a LAN world can make it visible to others on your local network.

    Minecraft weather codes and how to enter commands Picture 1

    Minecraft weather codes and how to enter commands Picture 2

  2. Bedrock: Check Activate Cheats in the world’s settings. Enabling cheats can disable achievements for that world. In multiplayer, ask the host for command permissions.
  3. Open chat, type /weather clear, submit it, and look for the confirmation. Use the on-screen chat button or your platform’s chat control if there is no keyboard.

    Minecraft weather codes and how to enter commands Picture 3

    Minecraft weather codes and how to enter commands Picture 4

See how to enable Minecraft commands and browse more Bedrock commands.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.