0x01 C01PacketPing
Sends a client-side timestamp for the server to echo back. The client calculates round-trip latency from the difference.
Published 2026-06-18 · Updated 2026-10-14
Fields
| Field | Type | Description |
|---|---|---|
| clientTime | long (8 bytes) | Current system time in milliseconds (System.currentTimeMillis()) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Client Time | long | System.currentTimeMillis() at send time |
MCP References
NetHandlerStatusServer.processPing()Handler Interface
INetHandlerStatusServerNotes
Vanilla Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
Deobfuscated MCP 1.8.9 source of C01PacketPing, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/status/client/C01PacketPing.java) at build time and verified present.
Deep Dive
Role in the protocol
C01PacketPing is the STATUS-state latency probe. After S00PacketServerInfo arrives, OldServerPinger sends it with a single long field, and the server echoes the exact value back in S01PacketPong. The client computes the row latency as receiveTime minus sentTime, averages it over the last few samples, and displays it in the server list. RealmsServerStatusPinger sends the same packet with Realms.currentTimeMillis() on realm connections. This is the only ping in the protocol that exists outside the PLAY state; the tab-list ping later comes from the C00/S00 keepalive pair.
Vanilla handling
NetHandlerStatusServer.processPing is a pure echo: it sends S01PacketPong(packetIn.getClientTime()) with no transformation and no state change. OldServerPinger tracks a counter (field_175092_e) incremented per ping cycle and sends C01PacketPing with it; the pong handler then computes the round-trip against the stored send time. The packet's long value is opaque to the server: it never reads it beyond echoing, which is why the value can be any client-chosen timestamp.
Why clients touch it
Only Rise 6.1.30 and 6.2.4 BlinkComponent reference C01PacketPing, in the same pre-play exemption list as the other handshake packets. No ping-spoof module in the 8 clients targets it: every PingSpoof implementation operates on C00PacketKeepAlive in the PLAY state, where the server folds the round-trip into the tab-list ping EMA. Spoofing the STATUS ping would only fake the user's own server-list readout, which is a purely local number, so no module bothers. The corpus confirms the packet is otherwise untouched vanilla plumbing.
Exploit surface
There is no meaningful exploit surface. The value is client-chosen and server-echoed, so a client could lie about its own latency, but the result is displayed only to itself on the multiplayer screen and vanishes on join. Server scanners could skip the ping to save a round-trip per host, but none of the 8 clients implements one. The only code interaction is defensive: BlinkComponent must not buffer this packet, or the pinger's latency sample would stall and the server row would show a stale or zero ping.
Server-Side Handling
NetHandlerStatusServer.processPing sends S01PacketPong with the same long value, no validation, no rate limiting, no state change. The status handler is stateless by design: it answers queries and pings and expects the client to close the connection.
Protocol Analysis
STATUS state, id 0x01, one 8-byte long. Must follow C00PacketServerQuery and S00PacketServerInfo. The server never interprets the value; it is a client-chosen timestamp (OldServerPinger uses a counter, RealmsServerStatusPinger uses currentTimeMillis). The same field name family (C01) collides with the LOGIN-state C01PacketEncryptionResponse and the PLAY-state C01PacketChatMessage, so id-based dispatch depends entirely on the connection state.
Anti-Cheat Landscape
No anti-cheat measures the STATUS ping: it carries no player identity, no timing that persists, and no gameplay state. Anti-cheat plugins only ever see PLAY-state traffic. The only consumers are the server-list UI and reflection tools, neither of which is a flagging surface.
implementation Implementation Cases
The STATUS-state latency probe: client sends an arbitrary long, server echoes it, client measures the round-trip for the server list. No module spoofs it, because the result is a local display value; the sole corpus hit is BlinkComponent's exemption list.
Exempt C01PacketPing from blink buffering so the server-list latency sample completes while blink is armed.
The hard-coded pre-play exemption list includes C01PacketPing alongside C00Handshake, C00PacketLoginStart, C00PacketServerQuery and C01PacketEncryptionResponse; the PacketSendEvent listener returns before the blink queue logic, so the ping always reaches the wire.
// ===== FILE: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/component/impl/player/BlinkComponent.java =====
package com.alan.clients.component.impl.player;
import com.alan.clients.component.Component;
import com.alan.clients.event.Listener;
import com.alan.clients.event.Priorities;
import com.alan.clients.event.annotations.EventLink;
import com.alan.clients.event.impl.other.ServerJoinEvent;
import com.alan.clients.event.impl.other.WorldChangeEvent;
import com.alan.clients.event.impl.packet.PacketSendEvent;
import com.alan.clients.util.packet.PacketUtil;
import net.minecraft.network.Packet;
import net.minecraft.network.handshake.client.C00Handshake;
import net.minecraft.network.login.client.C00PacketLoginStart;
import net.minecraft.network.login.client.C01PacketEncryptionResponse;
import net.minecraft.network.play.client.C03PacketPlayer;
import net.minecraft.network.status.client.C00PacketServerQuery;
import net.minecraft.network.status.client.C01PacketPing;
import rip.vantage.commons.util.time.StopWatch;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.concurrent.ConcurrentLinkedQueue;
public final class BlinkComponent extends Component {
public static final ConcurrentLinkedQueue<Packet<?>> packets = new ConcurrentLinkedQueue<>();
public static boolean blinking, dispatch;
public static ArrayList<Class<?>> exemptedPackets = new ArrayList<>();
public static StopWatch exemptionWatch = new StopWatch();
public static void setExempt(Class<?>... packets) {
exemptedPackets = new ArrayList<>(Arrays.asList(packets));
exemptionWatch.reset();
}
@EventLink(value = Priorities.VERY_LOW)
public final Listener<PacketSendEvent> onPacketSend = event -> {
if (mc.thePlayer == null) {
packets.clear();
exemptedPackets.clear();
return;
}
if (mc.thePlayer.isDead || mc.isSingleplayer() || !mc.getNetHandler().doneLoadingTerrain) {
packets.forEach(PacketUtil::sendNoEvent);
packets.clear();
blinking = false;
exemptedPackets.clear();
return;
}
final Packet<?> packet = event.getPacket();
if (packet instanceof C00Handshake || packet instanceof C00PacketLoginStart ||
packet instanceof C00PacketServerQuery || packet instanceof C01PacketPing ||
packet instanceof C01PacketEncryptionResponse) {
return;
}
if (blinking && !dispatch) {
if (exemptionWatch.finished(100)) {
exemptionWatch.reset();
exemptedPackets.clear();
}
// PingSpoofComponent.spoofing = false;
if (!event.isCancelled() && exemptedPackets.stream().noneMatch(packetClass ->
packetClass == packet.getClass())) {
packets.add(packet);
event.setCancelled();
}
} else if (packet instanceof C03PacketPlayer) {
packets.forEach(PacketUtil::sendNoEvent);
packets.clear();
dispatch = false;
}
};
public static void dispatch() {
dispatch = true;
}
@EventLink(value = Priorities.VERY_LOW)
public final Listener<WorldChangeEvent> onWorldChange = event -> {
packets.clear();
BlinkComponent.blinking = false;
};
@EventLink(value = Priorities.VERY_LOW)
public final Listener<ServerJoinEvent> onServerJoin = event -> {
packets.clear();
BlinkComponent.blinking = false;
};
}
// NOTE (AI): C01PacketPing is the only packet in the exemption list that carries a timing value, but the component never touches it: the exemption simply guarantees the pinger's sample round-trip finishes. Spoofing the STATUS ping would be pointless anyway, since the measured latency is rendered only in the client's own server list.anticheat Anti-Cheat Checks
The status ping is a pure echo probe used by the server list, and the corpus index is effectively empty of checks: FlopAC defines the PING constant for PacketStatusInPing in NMSObject and Packet, and Artemis wraps it as PacketStatusClientPing. The value is client-chosen and server-echoed for a local display, so no anticheat measures it. Anti-cheat timing only exists in the play state, through the C00 keepalive pair.
Related Packets
Wiki Cross-Reference
STATUS serverbound 0x01 with one 8-byte long clientTime; server echoes it verbatim in S01 pong.
Value is opaque to the server; vanilla sends currentTimeMillis or a counter and measures list latency locally.
Server-list probe only; shares id 0x01 with LOGIN encryption and PLAY chat, routed by connection state.
MCP 1.8.9 C01PacketPing implements Packet
1.8.9 callers: OldServerPinger.? sends new C01PacketPing (line 151) +1 more: https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/client/network/OldServerPinger.java
Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.
Vanilla Internals
Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.
Module Analyses Using C01PacketPing
Full source walkthroughs of the modules and anti-cheats that use this packet.