Time and Weather

Copy commands to set the time of day, bring in a storm or keep the sky clear.

Java

Time controls

Time action
Time of day

Weather controls

Weather

Commands to run

Copy the line for the change you want.

Time command

/time set day

Weather command

/weather clear

Daylight cycle

/gamerule minecraft:advance_time true

Weather cycle

/gamerule minecraft:advance_weather true

Set the light for a recording

Start by selecting your Java version. Choose Set time and pick the light you want, such as Sunrise for a low sun or Noon for a shot under direct daylight. Paste the time command into chat in a world with cheats, or on a server where you have permission to run it.

To keep that light while you arrange the shot, run the cycle command with Daylight cycle off. When you finish, turn the checkbox back on and run the new line. On Java 26.1 and later you can also choose Pause and Resume to control the clock, or use Clock speed to change how quickly it moves. A multiplier of 1 gives you the normal pace again.

Bring rain in for part of a scene

  1. Choose Rain or Thunder. Rain can appear as snow in cold biomes.
  2. Enter 45s in Duration to set the weather for 45 seconds at normal game speed. The s matters because a bare number counts ticks.
  3. Copy the weather line and run it. Leave Weather cycle on if you want the game to switch weather when the time runs out.

For a build session under clear skies, use the Clear weather command and run the cycle line with the checkbox off. Turn the cycle on again when you want weather to change on its own.

Move the clock forward from where it is

Use Add time and enter 0.5d in Amount of time to move halfway around the day. That is 12,000 ticks. Choose Read time first if you want to check the current reading before you change it. On Java 26.1 and later, pick Overworld clock in Clock reading for the clock's current position.