JukeboxHUD 是一款为音乐爱好者和建筑玩家打造的简洁信息层。将准星对准任意 唱片机,屏幕 左上角 就会显示一个小提示框。
显示内容
- 空 / 播放中 — 即时查看你注视的唱片机是否已装入唱片并正在播放。
- 当前播放 — 当歌曲信息可读时,HUD 会显示曲目名称(例如 当前播放: C418 - cat),让你无需站在附近就能确切知道正在播放什么。
设计初衷
原版游戏除了音乐本身外,不会提供任何关于唱片机的屏幕反馈——一旦你离开几格远,或者多个唱片机并排摆放,就无法分辨哪一台正在播放或装入了什么唱片。JukeboxHUD 将这些状态直接显示在屏幕上,让你一眼就能管理整个音乐室。
控制方式
- J — 切换提示框的显示/隐藏。操作栏消息会确认当前状态。
实现原理
- 直接读取你所注视方块上唱片机的
has_record 块状态以及正在播放的歌曲——无需命令,无需 Mixin。
- 提示框仅在你准星位于唱片机上方时出现,并尊重 F1(隐藏 HUD)及打开菜单时的行为。
兼容性
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 — Fabric Loader 0.16+。一个 JAR 文件即可覆盖所有四个版本。纯客户端模组:仅需安装在你的客户端上,兼容任何 Fabric 服务器,完全原版兼容。需要 Fabric API。
JukeboxHUD is a clean info layer for music lovers and builders. Point your crosshair at any jukebox and a small readout appears in the top-left of your screen.
What it shows
- Empty / Playing — instantly see whether the jukebox you're looking at has a record loaded and spinning.
- Now playing — when the song can be read, the HUD shows the track name (e.g. Now playing: C418 - cat) so you know exactly what's on without standing in earshot.
Why
Vanilla gives no on-screen feedback about a jukebox beyond the music itself — once you're a few blocks away, or have several jukeboxes side by side, there's no way to tell which one is playing or what's loaded. JukeboxHUD puts that state on screen so you can manage a whole music room at a glance.
Controls
- J — toggle the readout on/off. An action-bar message confirms the state.
How it's built
- Reads the jukebox's
has_record blockstate plus the playing song straight off the block you're looking at — no commands, no mixins.
- The readout only appears while your crosshair is on a jukebox, and respects F1 (hide HUD) and open menus.
Compatibility
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 — Fabric Loader 0.16+. One JAR covers all four. Pure client-side: install on your client only, works on any Fabric server, fully vanilla-compatible. Requires Fabric API.
评论 0
登录后参与评分
还没有评论,来抢沙发吧