Skip to content

Set Time

Packet IDDirectionMojang NameMCP Name
0x04ClientboundSetTimePacketPacket4UpdateTime

Minecraft's time is measured in ticks, where there should be 20 ticks per second, with 24,000 ticks per day in total. 0 is sunrise, 6000 is noon, 12000 is sunset, and 18000 is midnight. src

Clientbound

FieldTypeDescription
TimeLongThe total accumulated time of the world

Example Packet

FieldValue
Time102000 (The morning of Day 4)