Updated 25 October 2026. Facts on this page come from minecraft.wiki, minecraft.net and the live Artemis PvP server; sources are listed at the bottom.

Minecraft /time and /weather: Make It Day or Stop Rain
Type /time set day to make it morning and /weather clear to stop rain. A Minecraft day is 24,000 ticks (20 minutes): day is 1000, noon 6000, night 13000 and midnight 18000. Both commands need cheats or operator rights, and game rules can freeze time or weather for good.
How do you change the time?
| Command | Time (ticks) |
|---|---|
/time set day | 1000 (morning) |
/time set noon | 6000 |
/time set night | 13000 |
/time set midnight | 18000 |
/time set sunrise | 23000 (Bedrock only) |
/time add 6000 | Moves time forward a quarter day |
/time query time | Shows the current time of day (Java; Bedrock uses /time query daytime) |
On Bedrock, /time query day shows how many in-game days have passed; on both editions /time query gametime shows the total ticks. /time set day sets the clock to 1000 on both editions. Day and night are explained in day and night.
How do you change the weather?
| Command | Result |
|---|---|
/weather clear | Stops rain and snow |
/weather rain | Rain (snow in cold biomes) |
/weather thunder | Thunderstorm with lightning |
/weather clear 1d | Clear for one in-game day (Java units: d, s or ticks) |
/weather query | Shows the current weather (Bedrock only) |
Without a time, Java picks a random length: clear for 10-150 minutes, rain for 10-20 and thunder for 3-13. On Bedrock the time is in ticks, and leaving it out gives 5-15 minutes. See weather and lightning.
How do you keep it day or stop rain forever?
| Lock | Java (1.21.11+) | Bedrock |
|---|---|---|
| Stop the clock | /gamerule advance_time false | /gamerule dodaylightcycle false |
| Stop the weather | /gamerule advance_weather false | /gamerule doweathercycle false |
Set the time or weather first, then lock it. Older Java versions use doDaylightCycle and doWeatherCycle; see game rules.
Is there a way without cheats?
Sleeping in a bed at night or during a thunderstorm skips to morning and clears the weather. In multiplayer, the players_sleeping_percentage rule (Java) or playerssleepingpercentage (Bedrock) decides how many must sleep. See beds and sleeping.
Does ArtemisPvP run events on a timer?
Frequently asked questions
How do you make it day in Minecraft?
Type /time set day with cheats on, or sleep in a bed at night.
How do you stop rain forever?
Type /weather clear, then /gamerule advance_weather false on Java 1.21.11+ or /gamerule doweathercycle false on Bedrock.
Sources
Every fact on this page was checked against these pages; the wording is ours.