Rainbow Health Bar - Custom Hearts

Rainbow Health Bar - Custom Hearts

Custom health bar with rainbow hearts and different ways of customization!

by
1.4K Downloads
fabricdecorationmagic
Rent Server with this Mod

Screenshots

Poison
Wither Effect
animated rainbow hearts with adjustable speed
Absorption
Explanation
Freezing

About this Mod

I have searched for a way to have each of the hearts above the hotbar a different color and didn't find any mod with that functionality. After a deeper search for custom health bar bods, I have come across "Simple Health Bar (Forge/Fabric)" by Lanfix8, which was the perfect starting point for what I had in mind. Just needed some tweaking to achieve what I had in mind.

You can find the mod that this is based on here: https://modrinth.com/mod/simple-health-bar

With consent by the creator of the original mod, I have modified the mod's code, which now adds rainbow hearts and more.

Features:

  • Rainbow health bar mode:
    Rainbow hearts with/without a speed-adjustable animation

  • Custom color mode:
    Set a default color for all of the hearts

  • Unchanged mode:
    There is no color applied to the hearts. It will just show the default texture for the hearts (which you could change via your own resource pack, more on that below)

  • Health Indicator Text:
    Text, which shows your current HP with custom color, positioning and alignment (left/right) options

  • Textures for Absorption hearts, poison hearts, wither hearts and frozen hearts

  • Height-adjustable armor bar:
    Lets you adjust the y-height of the armor bar

All of those settings can be adjusted in the mod's config file (in .minecraft > config > rainbow-health-bar.properties).

Here's a video, showing what the rainbow animation looks like:

Information for people who want to modify the heart textures:

You can do that by changing the mod's file extension from .jar to .zip, which lets you be able to see the file structure you'll need for your texture pack (assets > rainbow-health-bar > textures > gui > healthbars). Then you just need your usual pack.mcdata file and your textures in the healthbars folder, named like the .png files in the mod.

Note: The rainbow coloration won't cover the hearts correctly if you change the hearts shape in your texture pack

Available Versions

Rainbow Health Bar - Custom Hearts 1.1.3release
MC 26.1.2fabric
May 31, 2026
Rainbow Health Bar 1.1.3+1.21.11release
MC 1.21.11fabric
February 19, 2026
Rainbow Health Bar (animated) 1.1.3+1.21.9release
MC 1.21.9fabric
December 20, 2025

How to Install Rainbow Health Bar - Custom Hearts on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Rainbow Health Bar - Custom Hearts". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 1.21.11, 1.21.9

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Rainbow Health Bar - Custom Hearts server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Rainbow Health Bar - Custom Hearts compatible with fabric?

Rainbow Health Bar - Custom Hearts officially supports fabric for Minecraft 26.1.2, 1.21.11, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Rainbow Health Bar - Custom Hearts – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Rainbow Health Bar - Custom Hearts consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Rainbow Health Bar - Custom Hearts with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

26.1.21.21.111.21.9