HomeJavaModsHudify
Hudify
ModsJava

Hudify

by Lightningtow · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21.2–1.21.3⬇ Download for 1.21–1.21.1⬇ Download for 1.20.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Hudify — screenshot 1Hudify — screenshot 2

Hudify - A Spotify integration for CustomHud

Modrinth GitHub

Display your Spotify info on your hud and control your music using ingame keybinds.

Requires MidnightLib and version 4.0+ of CustomHud. Please read the installation instructions below!

Installation

You'll need to create a Spotify developer app to use this mod.
Why? In short, because it's easier for everyone. Since Spotify's API ratelimits are per app, not per user, if everyone has their own app, Hudify can poll the API much more frequently without worrying about hitting ratelimits. This allows Hudify to display far more accurate info, with much less risk of getting desynchronized.

Note: Playback controls are locked behind a Spotify Premium subscription, which is out of my control.
The CustomHud variables work fine without a subscription.

Installation instructions:

  1. Create a Spotify app according to the "Create an App" section in Spotify's docs.
  2. Set your app name and description to anything you want
  3. Set your Redirect URI to http://localhost:8001/callback.
  4. Get your Client ID from your newly created app
  5. Put your Client ID in Hudify's config via ModMenu, or by manually editing .minecraft/config/hudify.json.
  6. Press a Hudify keybind to initialize, and that's it!. No need to request an access token like the docs prompt you to, because Hudify takes care of that for you.

To uninstall, also be sure to also disconnect the app from https://www.spotify.com/us/account/apps

This process is very easy, only takes ~5 minutes, and does not cost any money nor require a Premium subscription. If you're still not interested, I suggest you try the mod Blockify, which doesn't require this process.

See the GitHub page for a list of CustomHud variables added. This is how you display the info on your hud.

Example CustomHud Config
=if: sp_track=
{sp_track}
{sp_album}
{sp_artists}
{sp_progress} / {sp_duration}
{{sp_context_name, "Playing from {sp_context_name} ({sp_context_type})"}}

Shuffle: {sp_shuffle}
Repeat: {sp_repeat}

{{sp_message, "{sp_msg} {sp_msg_dur}"}}
=endif=

The config above produced this HUD:
An image showing song details on Minecraft's hud

Credit: A huge thank you to erruqie's Blockify and Jakob's CustomHud for their fantastic work, this wouldn't have been possible without them.

Disclaimer: This project is not affiliated with or endorsed by Spotify, Blockify, or CustomHud.

Note about updates I've been getting burnt from Minecraft, and updating my projects has fallen lower on my priority list. I designed them with forward compatibility in mind, so there's a good chance the old project version will work on newer MC versions. If that doesn't work, and you really want an updated version, poke Lightningtow on the linked discord server, and I'll get it updated for you

Pro tip: if you like the Hudify playback control keybinds, and want them to work everywhere on your computer, check out Microsoft PowerToys. You can use Keyboard Manager to rebind unused keys to Next Track, Previous Track, and Play/Pause Media.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more