跳到正文

XpOrbs HUD

作者:kvapilvaclav0

Tiny top-left HUD that counts experience orbs within 16 blocks and their total XP value, so you never miss orbs that scattered out of view after a fight. Toggle with X.

收藏

截图

介绍

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

XpOrbs HUD is a one-line indicator that tells you whether there are still experience orbs in the area worth picking up. Vanilla Minecraft only shows orbs visually — and they often fly off behind blocks, drop down a cliff, or scatter into tall grass after a mob fight. By the time the XP-bar flash settles down you have no idea whether there’s still anything left to grab. XpOrbs answers that at a glance.

What it shows

A small badge in the top-left corner:

Orbs: 8 (~52 XP)
  • Orbs — how many ExperienceOrbEntity entities are alive within 16 blocks of you.
  • ~XP — the sum of their values (what you would gain if you collected them all).

When there are no orbs nearby, the badge dims to a muted Orbs: 0 so you can tell the mod is still active without it shouting.

How it works

Every 5 client ticks (≈4 times per second) the mod queries the client world for nearby ExperienceOrbEntity instances inside a 16-block cube around the player, then filters by squared-distance so the radius is a true sphere. Each orb’s value is read from getValue() and summed. The count and total are cached between scans so the HUD render itself is essentially free.

Controls

  • X — toggle the HUD on / off. A chat message confirms the new state.

The key uses raw GLFW polling so it behaves identically on every supported Minecraft version, no rebind UI required.

Compatibility

Works on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 (Fabric Loader 0.16+). One JAR covers all four versions — install via Fabric and drop into your mods/ folder.

  • Pure client-side: install on the client only, works on any server, no game-state changes.
  • Hides automatically when you press F1 to hide the rest of the HUD, and while any GUI screen is open.
  • Counts only orbs you can already reach in the loaded world chunks; orbs in unloaded chunks aren’t included.

Why

XP orbs are easy to miss. After clearing a mob spawner room, killing a few zombies near a ravine, or breaking a vein of ore, orbs scatter and float around for a couple of minutes. XpOrbs HUD lets you know whether there’s still a meaningful XP haul waiting nearby — without doing a slow lap of the room or hunting through tall grass.

常见问题

XpOrbs HUD 支持哪些 Minecraft 版本?

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

XpOrbs HUD 怎么安装?

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

评论

登录后评论和评分

kvapilvaclav0 的其他作品

查看全部 →