That mod allows resourcepack creators to change the color of a hard coded minecraft value into any color they want. This allows them to work with other resourcepack without using core shaders.
Some examples are:
- XP text color
- Reloading textures background
- Item cooldowns
- Container text
- Experience orb colors
- Block outline
- Durability bar colors
As far as versions go, supporting all versions 1.21+ is a pain since Mojang changed rendering code every single update. I will probably iron out some bugs in those versions then drop support for adding new features to them. I will try to support at least the last 3 drops. Versions below 1.21 are not planned and neither is a forge/neoforge version.
Changing Colors with a Resource Pack
In order to change the color of something, you find the corresponding entry and replace it with the value you want. You should only put the values you modify in your pack so packs below it can modify other ones without them interfering.
If there is something that you want to be added, create a feature request in the Github.
Data type
Accepts an array of ints [r, g, b] or [r, g, b, a] or a hex string "#rrggbb" or "#aarrggbb"
Path
assets/recolor/colors.json
Example Values
colors.json
{
"xpText": "#34b7ff",
"loadingScreenMonochrome": "#660f00b5",
"containerTitle": [125, 175, 255],
"loadingScreen": [0, 63, 93, 102]
}
- "#rrggbb" format
- "#aarrggbb" format
- [r, g, b] format
- [r, g, b, a] format
Current options:
xpText
xpTextBackground
xpAnvilTextFail
Experience Orb interpolation colors
xpOrb1
xpOrb2
loadingScreen
loadingScreenMonochrome
cooldown (Item cooldowns)
slotDragBackground
World icon and Resource Pack hover background
previewIconHover
containerTitle
containerBackground
socialInteractionsPlayerBackground
socialInteractionsPlayerBackgroundHidden
blockOutline
Interpolates between these colors based on the durability
durabilityBarFull
durabilityBarHalf
durabilityBarBroken
damageColor