FurnaceHUD 将原版的熔炉进度箭头变成了你可以据此规划行动的东西。将准星对准熔炉、高炉或烟熏炉(大约 7 格范围内),左上角会出现一个紧凑的面板:
Furnace
Smelt: 6.0s left (40%)
Fuel: 15s left
无需打开 GUI,无需点击,无需等待门关闭——只需看着它你就知道了。走开,看向另一个熔炉,再瞥回去;它始终反映你准星所指的目标。
显示内容
- 标题行 — 你正在查看的熔炉类型(
Furnace、Blast Furnace 或 Smoker)。
- 冶炼行 — 当前物品剩余的秒数以及完成的百分比。当没有物品在加工时显示
idle,当有物品排队但火已熄灭时显示 paused (no fuel)。
- 燃料行 — 当前燃烧燃料剩余的秒数,如果没有燃料则显示
empty。
时间由实时的 tick 计数器计算得出,因此 6.0s left 确实意味着六秒钟——没有粗略估算。
原因
原版熔炉界面仅在 GUI 打开时告诉你发生了什么,而且进度箭头没有数值刻度。如果你同时运行四个高炉,或者想在离线前启动一批长时间的烟熏炉作业,用肉眼观察箭头很令人烦恼。FurnaceHUD 让你可以退后一步并读取数字。
工作原理
- 直接从熔炉的
PropertyDelegate 读取 cookTime、cookTimeTotal 和 burnTime(与游戏内 UI 使用的字段相同)。跨版本安全——没有硬编码的字段名。
- 通过 Fabric 的
HudRenderCallback 渲染,因此按 F1(隐藏 HUD)时会像其他原版覆盖层一样将其隐藏。
- 只读模式——从不打开熔炉,从不改变方块,从不发送数据包。
- 仅限单人游戏:专用服务器不会将熔炉进度同步到客户端,因此在查看服务器端熔炉时 HUD 将不会出现。(这是原版的限制,而非错误。)
控制
按键通过原始 GLFW 轮询,因此在所有支持的版本中行为一致,无需重新绑定屏幕。
兼容性
适用于 Minecraft 1.21.8、1.21.9、1.21.10 和 1.21.11,配合 Fabric Loader 0.16+。一个 JAR 文件涵盖所有四个版本——安装 Fabric API 并将其放入你的 mods/ 文件夹即可。
- 纯客户端侧;安装在任何服务器上都是安全的(在多玩家服务器的熔炉上,HUD 会自动隐藏自身)。
- 零配置文件;无需设置任何东西。
- 按 F1 时会与其他 HUD 元素一起自动隐藏。
FurnaceHUD turns the vanilla furnace progress arrow into something you can actually plan around. Aim your crosshair at a furnace, blast furnace, or smoker (within ~7 blocks) and a compact panel appears in the top-left corner:
Furnace
Smelt: 6.0s left (40%)
Fuel: 15s left
No GUI to open, no clicking, no waiting for the door to close — just look at it and you know. Walk away, look at a different furnace, glance back; it always reflects whatever your crosshair is on.
What it shows
- Title line — which kind of furnace you're looking at (
Furnace, Blast Furnace, or Smoker).
- Smelt line — seconds remaining on the current item plus the % complete. Shows
idle when nothing is cooking and paused (no fuel) when an item is queued but the fire is out.
- Fuel line — seconds left on the currently burning fuel, or
empty when there's none.
Times are computed from live tick counters, so a 6.0s left line really means six seconds — no rough estimates.
Why
The vanilla furnace screen only tells you what's happening when the GUI is open, and the progress arrow has no numeric scale. If you're running four blast furnaces in parallel, or you want to start a long smoker batch before logging off, eyeballing arrows is annoying. FurnaceHUD lets you stand back and read a number.
How it works
- Reads
cookTime, cookTimeTotal, and burnTime straight from the furnace's PropertyDelegate (the same fields the in-game UI uses). Cross-version safe — no hardcoded field names.
- Renders through Fabric's
HudRenderCallback, so F1 (hide HUD) hides it like any vanilla overlay.
- Read-only — never opens the furnace, never changes a block, never sends a packet.
- Singleplayer only: dedicated servers do not sync furnace progress to clients, so the HUD will simply not appear when looking at a server-side furnace. (This is a vanilla limitation, not a bug.)
Controls
- K — 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 (HUD simply hides itself on multiplayer furnaces).
- Zero config files; nothing to set up.
- Hides automatically with the rest of the HUD on F1.
评论 0
登录后参与评分
还没有评论,来抢沙发吧