HomeJavaModsRecolor
Recolor
ModsJava

Recolor

by Bluebird · on Modrinth

Allows you to change colors of hard coded values such as XP text color, reloading screen color, hit/damage color, block outline, and more! Similar to…

⬇ Download on Modrinth
Recolor — screenshot 1

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:

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]
}
  1. "#rrggbb" format
  2. "#aarrggbb" format
  3. [r, g, b] format
  4. [r, g, b, a] format

Current options:

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more