Back to mods
Hudify project artwork

Modrinth · Minecraft mod

Hudify

Addon for CustomHud to display Spotify info

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hudify release should I use?

Updated 1 year ago
Latest stable file 1.2.0+1.21.3__for_CH_v4
Game version 1.21.2, 1.21.3
Loader Fabric

Hudify 1.2.0+1.21.3__for_CH_v4 targets 1.21.2, 1.21.3 with Fabric. It must be installed on the client. Do not install it on the dedicated server. 2 required mods need a matching file.

Where it goes

Is Hudify required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Hudify 1.2.0+1.21.3__for_CH_v4 need?

1.2.0+1.21.3__for_CH_v4. Change the file and its required mods may change too.

2 required mods need a matching file

Install MidnightLib, CustomHud, Fabric API, Fabric API first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match. 4 come through another mod in the chain.

2 listed on this file 4 pulled in by those mods
MidnightLib Needed by Hudify 1.2.0+1.21.3__for_CH_v4
required
Matching file found Matched file: MidnightLib 1.6.4 - Fabric 1.21.3
CustomHud Needed by Hudify 1.2.0+1.21.3__for_CH_v4
required
Matching file found Matched file: 4.0.1+1.21.2
Fabric API Needed by MidnightLib
pulled in
No matching file
Fabric API Needed by CustomHud
pulled in
No matching file
Mod Menu Needed by CustomHud
pulled in
Matching file found Matched file: 12.0.1

4 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Hudify without breaking your instance.

Built for Hudify 1.2.0+1.21.3__for_CH_v4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0+1.21.3__for_CH_v4. It targets 1.21.2, 1.21.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install MidnightLib, CustomHud, Fabric API, Fabric API first, but 2 required mods have no matching file for this setup. Do not mix loader builds to force a match. 4 come through another mod in the chain.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.0+1.21.3__for_CH_v4. It opens that exact file at the source.

About this project

What does Hudify add?

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.

Project description from Modrinth.

Pick your setup

Hudify by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

7 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hudify versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.