Caution
Due to my busy schedule, the project is not currently in active development.
The mod adds colored lighting to the game. Other mods that add colored lights can use it as a dependency.
The mod is not compatible with Sodium!
- Different blocks can emit different colors
- Light that passes through stained glass is also colored
- Emitted colors, and filtered colors can be customized in resource packs
- The mod is client side - you can play with it on any server and you won't have any problems removing it from your world
In your resourcepack's namespace folder (where folders like textures
and models
are located) create a light
folder. There, you can create an emitters.json
file, which defines what light colors blocks emit. Example:
assets\example\light\emitters.json
{
"minecraft:torch": "#00FF00", // color in hex
"minecraft:red_candle": "red", // dye name
"minecraft:redstone_lamp": [ 0, 255, 255 ],
"minecraft:soul_torch": "purple;5", // override light level emission
"minecraft:oak_leaves": "light_blue;F" // value after ';' is a hex number from 0 to F
}
You can also create filters.json
, where you define what light color passes through a given block. Example:
assets\example\light\filters.json
{
"minecraft:red_stained_glass": "#00FF00", // color in hex
"minecraft:green_stained_glass": "red", // dye name
"minecraft:glass": [ 0, 255, 255 ]
}
Colorful Candles: colorful-candles.zip
Colorful Glowstone: https://github.com/erykczy/colorful-glowstone