跳到正文

Colored Lights

作者:Gegy

A compromise solution to colored lighting in Minecraft by tinting based on area.

收藏

介绍

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

Colored Lights

A compromise solution to colored lighting in Minecraft by tinting based on area.
Normally, computing colored lighting would require excessive memory requirements which makes it unfortunately quite impractical.
This mod takes a compromising approach that calculates light colors instead for each chunk corner, and smoothly blends between them within the chunk.
Although this solution is not perfect and does have noticeable issues, it achieves the general effect with minimal performance impact.
\
This mod works entirely client-side and requires both Fabric Loader and API.
\
You can see some examples of the mod in action here:
\
Example of lighting

Example of lighting

Configuration & Mod Integration

The colors emitted by blocks can be configured with a resource pack! This means any mod can easily add colored light
compatibility by just adding a data file.

To modify or add light colors, create assets/colored_lights/light_colors.json:

{
  "replace": false,
  "colors": {
    "redstone_torch": "#ff3333",
    "lava": "#ff9933"
  }
}

The configuration must provide a mapping between blocks that emit light and the corresponding hex color value that they should emit.
Note that colors aren’t represented exactly due to the color space being compressed down.

If replace is specified as true, the default values will be cleared.
For any pack just adding to existing color mappings or just replacing specific entries, replace should be false.

常见问题

Colored Lights 支持哪些 Minecraft 版本?

Colored Lights 支持 Minecraft Java 版 1.17–1.18.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Colored Lights 怎么安装?

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

评论

登录后评论和评分

Gegy 的其他作品

查看全部 →