
Rainbow Health Bar - Custom Hearts
Custom health bar with rainbow hearts and different ways of customization!
Screenshots






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 animationCustom color mode:
Set a default color for all of the heartsUnchanged 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) optionsTextures 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
How to Install Rainbow Health Bar - Custom Hearts on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
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
Minecraft Versions
26.1.2, 1.21.11, 1.21.9
Server-side
✗ UnsupportedRecommended 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.
Similar Mods
Rent Modded Server
Install Rainbow Health Bar - Custom Hearts with just one click on your server.