Compatibility
Minecraft: Java Edition
1.21.6–1.21.11
Platforms
Supported environments
Links
Creators
Details
Properer Ping
A Fabric mod that tracks and provides access to packet latency measurements between the client and server.
Best paired with a mod like Ping View or Better Ping Display (whenever it gets updated).
Features
- Tracks latency for the last 5 packets sent between client and server
- Measures latency in milliseconds with nanosecond precision
- Thread-safe implementation using concurrent collections
How It Works
The mod uses mixins to intercept Minecraft's query ping/pong packets to measure round-trip time (RTT):
- Client sends QueryPingC2SPacket: Contains a timestamp and requests server information
- Server responds with PingResultS2CPacket: Echoes back the original timestamp
- ClientPlayNetworkHandlerMixin: Intercepts the pong response
- PacketLatencyTracker: Calculates latency as (response time - request time)
RTT is measured as the time between sending a query ping and receiving the pong response.


