FpsPing 在屏幕右上角显示一个极简的两行面板,仅展示玩家最关心的两项性能数据:
- FPS — 当前帧率,与按 F3 时“fps”行显示的数值完全一致。
- Ping — 到服务器的往返延迟(毫秒),取自 Tab 菜单所使用的同一玩家列表。在单人游戏中则显示为 SP,而非毫无意义的
0 ms。
颜色编码阈值
数字会根据状态变色,让你无需仔细阅读即可一目了然:
- 绿色 — FPS ≥ 60 / ping ≤ 60 ms(丝滑)
- 黄色 — FPS ≥ 30 / ping ≤ 150 ms(良好)
- 橙色 — FPS ≥ 15 / ping ≤ 300 ms(吃力)
- 红色 — 更差的情况(出问题了)
功能特性
- 一键切换 HUD 显示(默认按键 G),采用原始 GLFW 轮询机制,兼容所有支持的 Minecraft 版本——无需重新绑定按键的界面。
- 按下 F1 隐藏其他 HUD 元素时,该面板也会自动隐藏。
- 纯客户端模组——仅需安装在客户端即可,适用于任何服务器,不会改变游戏状态。
- 渲染开销极小——仅两行文字和半透明背景,无逐帧内存分配。
兼容性
支持 Minecraft 1.21.8、1.21.9、1.21.10 和 1.21.11(Fabric Loader 0.16+)。单个 JAR 文件兼容以上四个版本——通过 Fabric 安装,放入 mods/ 文件夹即可。
为什么还需要另一个 FPS/ping HUD?
因为大多数“性能 HUD”模组是大型实用工具整合包的一部分,会绘制大量你并未要求的额外组件。FpsPing 只做这一件事,代码不足百行,无需配置文件,除 Fabric API 外无任何依赖。如果你只是想要一个快速查看客户端和网络连接状态的直观指示器,这就是最精简的答案。
FpsPing drops a tiny two-line panel in the top-right corner of the screen with the only two performance numbers most players actually want to glance at:
- FPS — your current frames-per-second, exactly the number F3 shows in its "fps" line.
- Ping — your round-trip latency to the server in milliseconds, taken from the same player list the Tab menu uses. In singleplayer it just reads SP instead of a meaningless
0 ms.
Color-coded thresholds
Numbers change color so you don't have to read them — you glance:
- Green — FPS ≥ 60 / ping ≤ 60 ms (silky)
- Yellow — FPS ≥ 30 / ping ≤ 150 ms (fine)
- Orange — FPS ≥ 15 / ping ≤ 300 ms (struggling)
- Red — anything worse (something is wrong)
Features
- One key to toggle the HUD (default G, raw GLFW polling so it works on every supported MC version — no rebind UI needed).
- Hides automatically when you press F1 to hide the rest of the HUD.
- Pure client-side — install on the client only, works on any server, no game-state changes.
- Tiny render cost — two lines of text and a translucent backdrop, no per-frame allocations.
Compatibility
Works on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 (Fabric Loader 0.16+). One JAR for all four — install via Fabric, drop into your mods/ folder.
Why another FPS/ping HUD?
Because most "performance HUD" mods are part of huge utility packs that draw 12 other widgets you didn't ask for. FpsPing does only this one job, in <100 lines of code, with no config files and no dependencies beyond Fabric API. If you just want a glanceable pulse on how the client and the connection are doing, this is the smallest possible answer.
评论 0
登录后参与评分
还没有评论,来抢沙发吧