BeaconHUD 让你一眼就能读取信标信息。将准星对准信标(距离约 8 格以内),左上角会出现一个小面板:
Beacon
Tier: 4 / 4
Range: 50m
Primary: Speed
Secondary: Haste
无需打开 GUI,也无需点击——只需看向信标,你就能知道它的层级、增益效果的范围以及已设置的效果。
显示内容
- 层级 (Tier) - 已完成的金字塔层级(1-4),通过实时扫描信标下方的基座方块计算得出。如果金字塔尚未建成,则显示
Tier: 0 (incomplete base)。
- 范围 (Range) - 效果半径(以格为单位)(
层级 x 10 + 10):1 级为 20 米,最高至 4 级为 50 米。
- 效果 (Effects) - 选定的主要和次要状态效果,直接从信标中读取。当未选择任何效果时(或服务器未将选择同步到客户端时),显示
Effects: none / unopened。
为什么需要它
原版 Minecraft 的信标只有在打开 GUI 时才会显示其层级和效果,并且游戏中没有直接显示增益效果实际覆盖范围的读条。当你正在规划基地并希望每个角落都被加速效果覆盖,或者你想查看多个信标各自的功能时,逐个打开它们非常繁琐。BeaconHUD 让你只需瞥一眼即可掌握所有信息。
工作原理
- 通过扫描信标下方的基座方块(
minecraft:beacon_base_blocks 标签)直接从世界中读取金字塔层级——无需实体方块数据,因此即使在你打开信标之前,层级和范围始终准确无误。
- 通过字段类型从信标方块实体中读取主要/次要效果(跨版本安全——不使用硬编码的混淆名称),并提供完善的保护机制:如果效果数据不可用,HUD 仍会正常显示层级和范围。
- 通过 Fabric 的
HudRenderCallback 进行渲染,因此按下 F1(隐藏 HUD)时,它会像其他原版叠加层一样被隐藏。
- 只读模式——从不打开信标,从不修改方块,也不发送数据包。
控制键
- V - 切换 HUD 的开启/关闭状态(默认:开启)
该按键通过原始 GLFW 轮询实现,因此在所有支持版本中行为一致,无需重新绑定界面。
兼容性
适用于 Minecraft 1.21.8、1.21.9、1.21.10 和 1.21.11,需搭配 Fabric Loader 0.16+。一个 JAR 文件兼容上述四个版本——安装 Fabric API 后将其放入 mods/ 文件夹即可。
- 纯客户端模组;可安全安装在任何服务器上。
- 零配置文件;无需任何设置。
- 按 F1 时会随其他 HUD 元素一起自动隐藏。
BeaconHUD lets you read a beacon at a glance. Point your crosshair at a beacon (within ~8 blocks) and a small panel appears in the top-left corner:
Beacon
Tier: 4 / 4
Range: 50m
Primary: Speed
Secondary: Haste
No GUI to open, no clicking - just look at the beacon and you know its tier, how far its buff reaches, and which effects are set.
What it shows
- Tier - the completed pyramid tier (1-4), computed live from the base blocks beneath the beacon. Shows
Tier: 0 (incomplete base) when the pyramid isn't finished yet.
- Range - the effect radius in blocks (
tier x 10 + 10): tier 1 = 20m up to tier 4 = 50m.
- Effects - the selected primary and secondary status effects, read straight from the beacon. Shows
Effects: none / unopened when nothing is selected (or when a server hasn't synced the choice to your client).
Why
The vanilla beacon only reveals its tier and effects while the GUI is open, and there's no in-world readout of how far the buff actually reaches. When you're laying out a base and want every spot covered by Haste, or you're checking which of several beacons does what, opening each one is tedious. BeaconHUD answers all of it from a glance.
How it works
- Reads the pyramid tier directly from the world by scanning the base blocks (
minecraft:beacon_base_blocks tag) under the beacon - no block-entity needed, so the tier and range are always accurate even before you open the beacon.
- Reads the primary/secondary effects from the beacon block-entity by field type (cross-version safe - no hardcoded obfuscated names), with full guarding so the HUD still shows tier and range if effect data isn't available.
- Renders through Fabric's
HudRenderCallback, so F1 (hide HUD) hides it like any vanilla overlay.
- Read-only - never opens the beacon, never changes a block, never sends a packet.
Controls
- V - toggle the HUD on / off (default: on)
The key is polled via raw GLFW so it works identically across every supported version without a rebind screen.
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; nothing to set up.
- Hides automatically with the rest of the HUD on F1.
评论 0
登录后参与评分
还没有评论,来抢沙发吧