Properer Ping
作者:lolwm
A Fabric mod that tracks and provides access to packet latency measurements between the client and server.
介绍
中文介绍正在准备中,下面暂时显示原文。
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.
常见问题
Properer Ping 支持哪些 Minecraft 版本?
Properer Ping 支持 Minecraft Java 版 1.21.6–1.21.11,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Properer Ping 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分