Properer Ping

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/properer-ping
资源信息

Minecraft 版本: 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: fabric

标签: utility

资源介绍

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):

  1. Client sends QueryPingC2SPacket: Contains a timestamp and requests server information
  2. Server responds with PingResultS2CPacket: Echoes back the original timestamp
  3. ClientPlayNetworkHandlerMixin: Intercepts the pong response
  4. PacketLatencyTracker: Calculates latency as (response time - request time)

RTT is measured as the time between sending a query ping and receiving the pong response.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PURE.

价格:0 墨喵币
下载量:0

查看详情
Chicken Madness Mod

价格:0 墨喵币
下载量:0

查看详情
Ray's Better Chests (broken)

价格:0 墨喵币
下载量:0

查看详情
More Azaleas

价格:0 墨喵币
下载量:0

查看详情