Terrails / colorful-hearts

A client side mod that replaces multiple vanilla heart rows with a single row using colored hearts
MIT License
6 stars 4 forks source link

Colorful Stats

A client side mod that replaces vanilla multiple heart rows with a single row using colored hearts.

CurseForge: https://www.curseforge.com/minecraft/mc-mods/colorful-hearts
Modrinth: https://modrinth.com/mod/colorful-hearts

Instead of vanilla behavior the mod uses colored hearts to represent each row of health. The colors can be configured with a simple config file that accepts a list of hex #RRGGBB color values.

Also adds half heart bordered background textures. This means that if there is only half a heart of absorption, it will not have a black background on the right as if it there is something missing. Instead the black bordered background will only cover the left half of the heart icon.

While the mod replicates default vanilla behavior of absorption being rendered a row above health, there is a toggle that instead moves absorption to the same row as health. Absorption icons then start to render in the same way as health.

NOTE: Everything below is outdated and will be up-to-date with 1.20.2 and the new atlas system in a few days

Resource Packs

Due to user configurable heart colors, textures have to be in layers instead of a single texture like with vanilla hearts. If anyone wants to create a resource pack for this mod there are a few things that have to be known.

Details can be seen below.

Textures

Visible in common/src/main/resources/assets/colorfulhearts/textures

half_heart.png
absorption.png & health.png