|
Control Spotify from inside Minecraft |
A Fabric client mod for Minecraft Java that controls your Spotify desktop app while you play:
| 🎵 | In-game overlay — playlists, albums, liked songs, queue |
| 💚 | Now-playing HUD with album art |
| 🎮 | Hotkeys — play/pause, next, previous (configurable) |
| 🔒 | Private — only talks to 127.0.0.1; credentials stay in Spotify |
Requirements checklist
| Need | Details |
|---|---|
| Minecraft Java | 1.21 – 1.21.11 |
| Fabric | Loader ≥ 0.16.10 + Fabric API in mods/ |
| Spotify desktop | Must stay open while playing |
| Spicetify | + beatblocks-api.js from this repo |
iwr -useb https://raw.githubusercontent.com/spicetify/cli/main/install.ps1 | iex
spicetify backup applyCopy beatblocks-api.js → Spicetify Extensions:
| OS | Folder |
|---|---|
| Windows | %APPDATA%\spicetify\Extensions\ |
| Linux / macOS | ~/.config/spicetify/Extensions/ |
.\scripts\setup-spicetify-bridge.ps1 # guided setup (Windows)
spicetify config extensions beatblocks-api.js
spicetify applyRestart Spotify after apply.
- Download the JAR matching your exact MC version → Releases or Modrinth
- Drop in
mods/with Fabric API - Launch Minecraft
- Play a song in Spotify
- In-game: Alt+I (overlay) or
/sp - Optional:
.\scripts\test-spicetify-bridge.ps1
Stuck? Spotify running? Spicetify applied? Correct JAR for your patch version?
Options → Controls → BeatBlocks
| Action | Default |
|---|---|
| Open overlay | Alt+I |
| Play / pause | K |
| Next | L |
| Previous | J |
| Minecraft | Download |
|---|---|
| 1.21.11 | beatblocks-control-mc-1.21.11.jar |
| 1.21.10 | beatblocks-control-mc-1.21.10.jar |
| 1.21.9 | beatblocks-control-mc-1.21.9.jar |
| 1.21.8 | beatblocks-control-mc-1.21.8.jar |
| 1.21.7 | beatblocks-control-mc-1.21.7.jar |
| 1.21.6 | beatblocks-control-mc-1.21.6.jar |
| 1.21.5 | beatblocks-control-mc-1.21.5.jar |
| 1.21.4 | beatblocks-control-mc-1.21.4.jar |
| 1.21.3 | beatblocks-control-mc-1.21.3.jar |
| 1.21.2 | beatblocks-control-mc-1.21.2.jar |
| 1.21.1 | beatblocks-control-mc-1.21.1.jar |
| 1.21 | beatblocks-control-mc-1.21.jar |
flowchart LR
MC[Minecraft mod] -->|localhost:50321| Bridge[HTTP bridge]
Bridge <-->|REST| Ext[beatblocks-api.js]
Ext --> Spicetify[Spicetify]
Spicetify --> Spotify[Spotify desktop]
| Now | Spicetify bridge — Spotify + Spicetify + extension required |
| Future | Spotify Web API (simpler setup; needs API funding) |
BeatBlocks is built in spare time. Sponsors and tips help fund the Spotify API roadmap and ongoing updates.
.minecraft/config/beatblocks/beatblocks.json
| Key | Default | Description |
|---|---|---|
bridgePort |
50321 |
Local HTTP port |
apiPollSeconds |
4 |
Poll interval |
hudScaleMultiplier |
1.0 |
HUD scale |
coverPixels |
256 |
Max cover size |
selectedMode |
DEFAULT |
DEFAULT or ENHANCED |
.\gradlew.bat clean build
.\scripts\build-minecraft-versions.ps1
.\gradlew.bat testSee TESTING.md · CONTRIBUTING.md · SECURITY.md
MIT — see LICENSE.

