Blockify 模组
原版 Blockify 的分支版本 —— 将你的 Spotify 播放信息覆盖显示在 Minecraft HUD 上:曲目标题、艺术家、专辑封面、进度条和音量。
依赖要求
- Fabric Loader 0.19.2+ 与 Fabric API 环境下的 Minecraft 26.1.2
- Java 25 或更高版本
- MidnightLib 1.9.3+(用于游戏内配置界面)
- Spotify Premium 账号(用于播放控制的 Web API 端点仅限 Premium 用户使用)
使用方法
按一次 Play/Pause 键会在浏览器中打开 Spotify 授权页面。Blockify 会在端口 8001 运行一个临时本地服务器以接收 OAuth 回调;令牌存储在 config/blockifyTokens.json 中。
默认按键绑定
| 操作 |
按键 |
| 播放/暂停(首次运行时为授权) |
Num 5 |
| 上一首歌曲 |
Num 4 |
| 下一首歌曲 |
Num 6 |
| 将当前曲目保存到你的库中 |
L |
| 强制更新 |
Num 8 |
| 隐藏 Blockify HUD |
Num 9 |
| 增加音量 |
Num + |
| 降低音量 |
Num - |
| 切换游戏内音乐 |
Num 1 |
所有绑定均可在 Minecraft 标准控制设置界面的 Blockify 分类下重新映射。
指令
/sharetrack — 将当前播放曲目的链接发送到聊天栏(仅你自己可见)。
配置
通过 Mod Menu → Blockify 打开游戏内配置界面。可用选项包括 HUD 缩放、位置、锚点角落、专辑封面开关、标题/艺术家/时间/进度条/背景的自定义颜色、背景透明度、游戏内音乐音量以及音量步进值。
截图
从源码构建
./gradlew build # 构建模组 JAR(输出至 build/libs/)
./gradlew runClient # 启动带有该模组的开发版 Minecraft 客户端
贡献
我们非常欢迎您的贡献。
- Fork 本项目
- 创建功能分支 (
git checkout -b feature/AmazingFeature)
- 提交更改 (
git commit -m 'Add some AmazingFeature')
- 推送到分支 (
git push origin feature/AmazingFeature)
- 发起 Pull Request
本地化
翻译通过 Crowdin 进行管理——请勿提交硬编码翻译字符串的 PR。

Blockify Mod
Fork of the original Blockify — overlays your Spotify playback on the Minecraft HUD: track title, artist, album art, progress bar, and volume.
Requirements
- Minecraft 26.1.2 with Fabric Loader 0.19.2+ and Fabric API
- Java 25 or newer
- MidnightLib 1.9.3+ (for the in-game config screen)
- A Spotify Premium account (the Web API endpoints used for playback control are Premium-only)
How to use
Press Play/Pause once to open the Spotify authorization page in your browser. Blockify runs a temporary local server on port 8001 to receive the OAuth callback; tokens are stored in config/blockifyTokens.json.
Default key bindings
| Action |
Key |
| Play/Pause (or Authorize on first run) |
Num 5 |
| Previous Song |
Num 4 |
| Next Song |
Num 6 |
| Save current track to your library |
L |
| Force Update |
Num 8 |
| Hide Blockify HUD |
Num 9 |
| Increase Volume |
Num + |
| Decrease Volume |
Num - |
| Toggle In-Game Music |
Num 1 |
All bindings can be remapped from the standard Minecraft Controls screen under the Blockify category.
Commands
/sharetrack — sends a link to the currently playing track into chat (visible only to you).
Configuration
Open the in-game config screen via Mod Menu → Blockify. Available options include HUD scale, position, anchor corner, album-art toggle, custom colors for title/artist/time/progress bar/background, background transparency, in-game music volume, and volume step.
Screenshots
Building from source
./gradlew build # build the mod JAR (output in build/libs/)
./gradlew runClient # launch a dev Minecraft client with the mod
Contributing
Contributions are greatly appreciated.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature)
- Commit your changes (
git commit -m 'Add some AmazingFeature')
- Push to the branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Localisation
Translations are managed through Crowdin — please don't open PRs that hardcode translated strings.

评论 0
登录后参与评分
还没有评论,来抢沙发吧