该模组允许资源包创作者将硬编码的 Minecraft 数值更改为任意颜色。这使得他们可以在不使用核心光影的情况下与其他资源包协同工作。
一些示例包括:
- XP 文本颜色
- 加载纹理背景
- 物品冷却指示
- 容器文本
- 经验球颜色
- 方块轮廓
- 耐久度条颜色
就版本支持而言,由于 Mojang 在每个更新中都更改了渲染代码,支持所有 1.21+ 版本非常困难。我可能会修复这些版本中的一些 bug,然后停止为它们添加新功能。我将尝试至少支持最近三个主要版本。低于 1.21 的版本暂无计划支持。
使用资源包更改颜色
要更改某物的颜色,请找到对应的条目并将其替换为你想要的值。你只应在你的包中包含你修改的值,以便其下方的其他包可以修改其他值而不会相互干扰。
如果有你想要添加的内容,请在 Github 上创建功能请求。
数据类型
接受整数数组 [r, g, b] 或 [r, g, b, a],或十六进制字符串 "#rrggbb" 或 "#aarrggbb"
路径
assets/recolor/colors.json
示例值
colors.json
{
"xpText": "#34b7ff",
"loadingScreenMonochrome": "#660f00b5",
"containerTitle": [125, 175, 255],
"loadingScreen": [0, 63, 93, 102]
}
- "#rrggbb" 格式
- "#aarrggbb" 格式
- [r, g, b] 格式
- [r, g, b, a] 格式
当前选项:
选项
xpText
xpTextBackground
xpAnvilTextFail
经验球插值颜色
xpOrb1
xpOrb2
loadingScreen
loadingScreenMonochrome
cooldown (物品冷却指示)
slotDragBackground
世界图标和资源包悬停背景
previewIconHover
containerTitle
containerBackground
socialInteractionsPlayerBackground
socialInteractionsPlayerBackgroundHidden
blockOutline
根据耐久度在这些颜色之间进行插值
durabilityBarFull
durabilityBarHalf
durabilityBarBroken
damageColor
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]
}
- "#rrggbb" format
- "#aarrggbb" format
- [r, g, b] format
- [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
评论 0
登录后参与评分
还没有评论,来抢沙发吧