跳到正文

Recolor

作者:Bluebird

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 optifine's color.properties

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

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

常见问题

Recolor 支持哪些 Minecraft 版本?

Recolor 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Recolor 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Bluebird 的其他作品

查看全部 →