MiniBench

MiniBench / Learn / Commands

Command Bedrock Edition ~2 min read

The /time command

Skip to day, jump to night, or freeze the clock wherever you want it.

What it does

/time controls the world clock. Set it to a keyword or an exact tick, or add ticks to fast-forward. Perfect for staging a screenshot in daylight or triggering a spooky night scene.

Syntax

time set <day|night|noon|midnight|sunrise|sunset|ticks>
time add <ticks>
time query <daytime|gametime|day>
set
Jump to a keyword (day, night, noon, midnight, sunrise, sunset) or an exact tick (0-24000).
add
Advance the clock by a number of ticks (20 ticks = 1 second).
query
Read the current time back.

Examples

time set day

Bright daylight (about tick 1000).

time set night

Jump to night.

time add 6000

Fast-forward six in-game hours.

See it in action

Before and after running /time — in MiniBench's 3D preview and in Minecraft.

Command run

time set midnight
In Minecraft
/time set night turning the Minecraft sky dark (before)

Before

/time set night turning the Minecraft sky dark (after)

After

Not affiliated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.

Watch out for

Write it in MiniBench with autocomplete and live validation, then run it in Minecraft.