0x01 C01PacketPing

Sends a client-side timestamp for the server to echo back. The client calculates round-trip latency from the difference.

Serverbound (Client → Server) · STATUS · net/minecraft/network/play/client/C01PacketPing.java
statusserverpinglatency

Fields

FieldTypeDescription
clientTimelong (8 bytes)Current system time in milliseconds (System.currentTimeMillis())

Wire Encoding

FieldTypeNotes
Client TimelongSystem.currentTimeMillis() at send time

MCP References

MCPNetHandlerStatusServer.processPing()

Handler Interface

HNDINetHandlerStatusServer

Notes

Sent after receiving S00PacketServerInfo. The server echoes the exact same long value in S01PacketPong. The client computes latency as receiveTime - sentTime.

implementation Implementation Cases

ServerScanner

Manipulate or delay ping response to fake latency.

PingSpoof

Manipulate or delay ping response to fake latency.

← Back to all packets