
Colored Lights
A compromise solution to colored lighting in Minecraft by tinting based on area.
Обновлён 23 декабря 2021 г. · опубликован 12 апреля 2021 г.
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:


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.
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.1.0 | Релиз | 1.18.1, 1.18.2 | fabric | 23 декабря 2021 г. | .jar (65 КБ) |
| 1.0.3 | Релиз | 1.17 | fabric | 8 июня 2021 г. | .jar (67 КБ) |
| 1.0.2 | Релиз | 21w19a, 21w20a, 1.17-pre1 | fabric | 14 мая 2021 г. | .jar (60 КБ) |
| 1.0.1 | Релиз | 21w14a, 21w15a, 21w16a | fabric | 13 апреля 2021 г. | .jar (55 КБ) |
| 1.0.0 | Релиз | 21w14a | fabric | 12 апреля 2021 г. | .jar (55 КБ) |
Ченджлог
1.1.0Релиз1.18.1, 1.18.2 · 23 декабря 2021 г.
- Update to 1.18.1 (thanks @Ryorama)
1.0.3Релиз1.17 · 8 июня 2021 г.
- Update to Minecraft 1.17
- Apply color tinting to block entities & particles
1.0.2Релиз21w19a, 21w20a, 1.17-pre1 · 14 мая 2021 г.
- Update to 21w19a and Java 16
- Fix entities rendering with tinted color under skylight
- Tint falling blocks and held items
- Extend the representable color range: colors should blend nicer and be more accurate to their configured value!
- Avoid unnecessary uploads of chunk light uniform (very minor optimization)
1.0.1Релиз21w14a, 21w15a, 21w16a · 13 апреля 2021 г.
- Optimize the algorithm used to determine light color in a chunk
- Reduce the saturation of colored lights
- Fix colored lights tinting under skylight
Полная история изменений — на Modrinth.
Комментарии
Загружаем…