0x03 S03PacketTimeUpdate

Synchronizes the world time (total world age and day/night cycle time). Sent every few seconds or when time accelerates (sleeping).

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S03PacketTimeUpdate.java
worldtime

Fields

FieldTypeDescription
totalWorldTimelongTotal ticks since world creation (monotonically increasing)
worldTimelongCurrent day/night time (0-24000). worldTime % 24000 for time-of-day.

Wire Encoding

FieldTypeNotes
World AgelongIncremented each tick
Time of Daylong0-24000, wraps around

MCP References

MCPNetHandlerPlayClient.handleTimeUpdate()

Handler Interface

HNDINetHandlerPlayClient

Notes

Time values: 0=dawn, 6000=noon, 12000=sunset, 18000=midnight. When all players sleep, time jumps to 0 (dawn). S03 is used by modules to calculate server TPS (ticks per second) by measuring the time between S03 updates.

implementation Implementation Cases

Ambience (Gugustus, Tenacity 6.0)

Cancel or modify world time for custom day/night cycle.

Vanilla hook: EventReceivePacket
TimeChanger (Gugustus, Tenacity 6.0)

Cancel or modify world time for custom day/night cycle.

Vanilla hook: EventReceivePacket
WorldTime (Gugustus, Tenacity 6.0)

Cancel or modify world time for custom day/night cycle.

Vanilla hook: EventReceivePacket
← Back to all packets