Minecraft Java and Bedrock Weather and Time Command Generator
Use this Weather and Time Generator to quickly create /weather and /time commands in Minecraft Java and Bedrock Edition 1.21+ and 26+. Choose the weather (clear, rain, thunder), set a duration in ticks, and adjust the time of day with presets like sunrise, noon, sunset, and midnight. Ideal for maps, servers, and datapacks.
Select your Minecraft edition:
Weather — /weather
Default game duration.
/weather query only exists in Bedrock Edition.
In both editions, a raw number in /weather is interpreted in ticks.
Generated Weather Command
weather clearTime — /time
24000 ticks (20 real-life minutes).
Keywords like day, noon, night, and midnight
work in both editions; therefore, this generator always uses the equivalent numerical value,
which also works in both.
Generated Time Command
time set 1000Want to create a cheap and lag-free Minecraft server?
I recommend Sparked Host: affordable plans, great performance, easy dashboard, and fast support.
🚀 Create server at Sparked HostHow to use Weather and Time commands in Minecraft
The **Weather** command changes the world's weather instantly, and the **Time** command controls the day and night cycle. Both are widely used in maps, servers, and video scenes to ensure specific visual and gameplay conditions.
The basic weather format is:
/weather clear
Meanwhile, time uses:
/time set day
Weather Command Examples
Clear the weather for 10 minutes (12000 ticks)
/weather clear 12000
Force a thunderstorm
/weather thunder
Check current weather (Bedrock only)
/weather query
Time Command Examples
Set to noon
/time set 6000
Advance 1000 ticks
/time add 1000
Check time elapsed in the current day
/time query daytime
Frequently Asked Questions
How to change the weather in Minecraft?
Use /weather clear, /weather rain, or /weather thunder, with an optional duration in ticks.
Does the /weather query command work in Java Edition?
No. /weather query only exists in Bedrock Edition. In Java, there is no way to check the current weather via command.
How to set the time in Minecraft?
Use /time set followed by a value in ticks (0 to 24000) or a keyword like day, noon, night, or midnight.
How many ticks are in a day in Minecraft?
A full day has 24000 ticks, equivalent to 20 real-life minutes in the game at default speed.
What is the difference in /weather duration between Java and Bedrock?
In both editions, a raw number is interpreted in ticks. The real difference is that /weather query only exists in Bedrock Edition.