Weather Command Generator — /weather Clear, Rain, Thunder (Java Edition)
Most of these need operator permission — run them from an op's chat, a command block, or the server console.
How to Use the Weather Command Generator
- Choose a weather type: clear, rain, or thunder.
- Optionally set a duration in seconds – leave it blank to let the game pick a random duration itself.
- Copy the generated
/weathercommand into a command block, the console, or an operator’s chat.
Command Syntax Reference
/weather <clear|rain|thunder> [duration]
Weather is a world-wide setting with no per-player targeting. Duration is measured in seconds, not ticks (unlike most other time-based commands), and if omitted the game assigns a random duration the same way it would naturally. thunder implies rain is also happening – it’s rain with added lightning and darker skies, not a separate weather layered on top of clear skies. Setting clear cancels any rain or thunder currently in progress immediately.
Frequently Asked Questions
What’s the difference between rain and thunder weather?
Thunder includes everything rain does (wet blocks, extinguished fire, water-filled cauldrons over time) plus lightning strikes and a darker sky. There’s no way to get lightning without rain – thunder is effectively “rain, upgraded,” not an independent third state.
Is the duration in the weather command measured in ticks or seconds?
Seconds. This is different from commands like /time which use ticks (20 per second) – a duration of 600 in /weather rain 600 means 10 real-world minutes of rain, not 600 ticks (30 seconds).
Does /weather clear stop lightning from striking immediately?
Yes – switching to clear ends any active rain or thunderstorm right away rather than waiting for a natural transition, so it’s a reliable way to stop an ongoing storm instantly via command block or console.
Will changing the weather affect crop growth or fire spread?
Yes – rain and thunder extinguish exposed fire, fill cauldrons over time, and are one of several factors that affect crop hydration/growth rates, while mobGriefing and other gamerules separately control most fire-spread and griefing behavior. Weather changes only the atmospheric conditions themselves.
Related Tools
- Time Command Generator – set the exact time of day alongside a forced weather state.
- Gamerule Command Generator – control fire spread and mob griefing that weather interacts with.
- Difficulty Command Generator – change difficulty to pair with a storm for a spookier test session.