Colored Lights

Colored Lights

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

by
6.6K Downloads
fabricdecoration
Rent Server with this Mod

About this Mod

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.

Available Versions

colored-lights-1.1.0release
MC 1.18.1, 1.18.2fabric
December 23, 2021
colored-lights-1.0.3release
MC 1.17fabric
June 8, 2021
colored-lights-1.0.2release
MC 21w19a, 21w20a, 1.17-pre1fabric
May 14, 2021
colored-lights-1.0.1release
MC 21w14a, 21w15a, 21w16afabric
April 13, 2021
colored-lights-1.0.0release
MC 21w14afabric
April 12, 2021

How to Install Colored Lights on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.18.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Colored Lights". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.18.2, 1.18.1, 1.17 (+6 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Colored Lights server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.18.2). You can switch loaders with one click in the panel.

Is Colored Lights compatible with fabric?

Colored Lights officially supports fabric for Minecraft 1.18.2, 1.18.1, 1.17. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Colored Lights – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Colored Lights consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Colored Lights with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Unsupported

Supported Versions

1.18.21.18.11.171.17-pre121w20a21w19a21w16a21w15a21w14a