跳到正文

HorseStats

作者:kvapilvaclav0

骑乘任何马、驴、骡或羊驼时,左上角会显示一个小型HUD,实时显示坐骑的生命值、最高速度(m/s)和跳跃高度(格)——无需打开其物品栏。按H键切换。

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

HorseStats puts your mount’s real stats on screen the moment you climb on. Get on any horse, donkey, mule or llama and a compact panel appears in the top-left corner:

Horse
Health: 22.0 / 30.0
Speed: 9.42 m/s
Jump: 3.86 blocks

No inventory to open, no guessing – the numbers update live as you ride.

What it shows

  • Mount name – Horse, Donkey, Mule or Llama, so you always know what you’re on.
  • Health – current / max hit points of the animal, colored green / yellow / red as it drops.
  • Speed – the mount’s top ground speed in blocks per second, derived from its movement-speed attribute.
  • Jump – how high the mount can jump, in blocks, derived from its jump-strength attribute.

Why

Two horses that look identical can have wildly different speed and jump. Vanilla only hints at this through feel, and the one existing readout lives buried in the mount’s inventory screen. HorseStats shows the numbers that actually matter the instant you mount up, so you can tell a keeper from a dud at a glance while breeding or shopping.

How it works

  • Reads health straight from the mount via the standard living-entity API.
  • Reads the speed and jump attributes by their stable registry ids, so it stays correct across every supported version.
  • Converts jump strength to blocks with the vanilla jump-height curve, and movement speed to blocks/second.
  • Renders through Fabric’s HudRenderCallback, so F1 (hide HUD) hides it like any vanilla overlay.
  • Read-only – never changes the mount, never sends a packet. Safe on any server.

Controls

  • H – toggle the HUD on / off (default: on)

Compatibility

Works on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 with Fabric Loader 0.16+. One JAR for all four versions – install with Fabric API and drop into your mods/ folder. Pure client-side; safe to install on any server. Zero config files.

常见问题

HorseStats 支持哪些 Minecraft 版本?

HorseStats 支持 Minecraft Java 版 1.21.8–26.3,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

HorseStats 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

kvapilvaclav0 的其他作品

查看全部 →