NoteBlockHud 将调谐音符盒从猜谜游戏变为只需一瞥即可获取信息。将准星对准任意音符盒,屏幕左上角会出现一个小型读数显示。
显示内容
- 音高(Pitch) — 带八度标识的乐音名称,例如 F#4,覆盖完整的音符盒范围 F#3 → F#5。
- 音符值(Note value) — 原始的
0–24 步进值,让你清楚知道距离最低音还有多少次右键操作。
- 乐器(Instrument) — 竖琴、贝斯、钟、长笛、木琴、叮声… — 直接从方块读取,由其下方的材料决定。
为什么需要它
原版游戏中,你只能通过播放来获知音符盒的音高——因此编排旋律意味着点击、聆听、心中计数并祈祷。NoteBlockHud 将实际的音符和乐器信息显示在屏幕上,让你能够仅凭视觉构建和调谐红石音乐、瞬间匹配两个相同音高的音符盒,或回看他人已构建的曲目。
控制方式
- N — 切换读数显示的开启/关闭状态。操作栏消息会确认当前状态。
实现原理
- 直接读取你所注视的音符盒的
note 和 instrument 方块状态属性 —— 无需 Mixin,无需访问方块实体,无额外依赖。
- 音高命名映射:音符
0 对应 F#3,并按半音阶递增至音符 24 处的 F#5。
- 读数仅在准星位于音符盒上时显示,并遵循 F1(隐藏 HUD)及打开菜单时的行为。
兼容性
Minecraft 1.21.8, 1.21.9, 1.21.10, 1.21.11 —— Fabric Loader 0.16+。单个 JAR 文件兼容全部四个版本。纯客户端模组:仅需安装在客户端,适用于任何 Fabric 服务器,完全兼容原版。需要 Fabric API。
NoteBlockHud turns tuning note blocks from a guessing game into a glance. Point your crosshair at any note block and a small readout appears in the top-left of your screen.
What it shows
- Pitch — the musical note name with octave, e.g. F#4, across the full note-block range F#3 → F#5.
- Note value — the raw
0–24 step, so you know exactly how many right-clicks from the bottom you are.
- Instrument — Harp, Bass, Bell, Flute, Xylophone, Pling… — read straight from the block, derived from the material underneath it.
Why
Vanilla only tells you a note block's pitch by playing it — so tuning a melody means clicking, listening, counting in your head, and hoping. NoteBlockHud puts the actual note and instrument on screen, so you can build and tune redstone music by eye, match two note blocks to the same pitch instantly, or read back a song someone else built.
Controls
- N — toggle the readout on/off. An action-bar message confirms the state.
How it's built
- Reads the note block's
note and instrument blockstate properties directly from the block you're looking at — no mixins, no block-entity poking, no extra dependencies.
- Pitch naming maps note
0 to F#3 and walks the chromatic scale up to F#5 at note 24.
- The readout only appears while your crosshair is on a note block, 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
登录后参与评分
还没有评论,来抢沙发吧