MPDCraft ?
是否曾想过在 Minecraft 中无需 Alt-Tab 就能控制音乐?我也是这么想的。
MPDCraft 是一款适用于 Fabric 的简易模组,可连接至你的 Music Player Daemon (MPD) 实例。它会显示当前播放的内容,将专辑封面直接展示在你的 HUD 上,并添加几乎所有你在挖矿过程中可能需要的按键绑定。
功能
- HUD 叠加层:显示曲名、艺术家和播放状态。
- 专辑封面:从 MPD 获取并直接显示封面艺术。
- 可配置的连接:通过 ModMenu 更改你的 MPD 主机地址和端口(默认为 localhost:6600)。
- 游戏内控制:提供标准的播放/暂停、下一首和上一首曲目按键绑定。
⚙️ 如何配置
所有内容均可通过 ModMenu 进行配置!
- 进入 Minecraft 中的“模组”屏幕。
- 找到 MPDCraft。
- 点击“Configure”按钮。
- 在此处,你可以设置 MPD Host(例如
127.0.0.1)和 Port(例如 6600)。
⌨️ 按键绑定
该模组在标准的 Minecraft 控制菜单中添加了一个名为 MPDCraft 的新类别。
- 播放/暂停:
Numpad 5(默认)
- 下一首曲目:
Numpad 6(默认)
- 上一首曲目:
Numpad 4(默认)
- 切换叠加层位置:
Numpad 8(默认)
注意:你可以在 Options > Controls > Key Binds 中将这些按键重新绑定为你喜欢的任何键位。
为什么我要制作这个?
主要是因为我使用 MPD 处理所有音频,并且希望有一种更“整洁”的方式来在游戏中跳过曲目。它仍在开发中,但对我而言已经足够好用!
如果你有改进的想法,欢迎提交 Issue 或 PR。
许可证:CC0
MPDCraft ?
Ever wanted to control your music without Alt-Tabbing out of Minecraft? Me too.
MPDCraft is a simple mod for Fabric that connects to your Music Player Daemon (MPD) instance. It shows you what's currently playing, displays album art right in your HUD, and adds keybinds for pretty much everything you'd need during a mining session.
Features
- HUD Overlay: Shows track name, artist, and playback status.
- Album Art: Fetches and displays cover art directly from MPD.
- Configurable Connection: Change your MPD host and port via ModMenu (defaulting to localhost:6600).
- In-game Controls: Standard keybinds for Play/Pause, Skip, and Previous track.
⚙️ How to Configure
Everything is configurable through ModMenu!
- Go to the "Mods" screen in Minecraft.
- Find MPDCraft.
- Click the "Configure" button.
- From here, you can set your MPD Host (e.g.,
127.0.0.1) and Port (e.g., 6600).
⌨️ Keybindings
The mod adds a new category called MPDCraft in the standard Minecraft controls menu.
- Play/Pause:
Numpad 5 (default)
- Next Track:
Numpad 6 (default)
- Previous Track:
Numpad 4 (default)
- Cycle Overlay Position:
Numpad 8 (default)
Note: You can rebind these to whatever keys you prefer in Options > Controls > Key Binds.
Why did I make this?
Mostly because I use MPD for everything and wanted a "cleaner" way to skip tracks while playing. It's still a work in progress, but it works for me!
Feel free to open an issue or a PR if you have ideas on how to make it better.
License: CC0
评论 0
登录后参与评分
还没有评论,来抢沙发吧