Mesh nodes with a somewhat-low-poly model are used here to provide a somewhat-realistic look compared to Dan's old version.
Crafting:
Place three steel ingots, one regular glass, and one torch, in the following pattern:
- Code: Select all
-- Steel --
-- Glass --
Steel Torch Steel
Yields 3 lights. Once you have a light, place it somewhere and the punch it with dye to change its color. If you dig one of these colorized lights, you get the uncolored one back, plus the dye that you used to color it.
All colors in the abridged Unified Dyes "colorwallmounted" palette are supported, including esoteric shades like grey and black. The screenshot below shows a sample of the available colors (in fact, it shows the color set this mod used to have before dynamic colorization became possible).
Dependencies: default, unifieddyes, and a Minetest engine build newer than 2017-01-23.
License: CC-By-Sa
Download: https://github.com/minetest-mods/ilight ... master.zip
...or browse the code: https://github.com/minetest-mods/ilights
For the 0.4.15-stable version (no hardware coloring), get this ZIP file.
Screenshot:
Regarding the black lights (and for that matter, other colors not usually seen with a light), as Dan said originally, "I have no idea how that works, but hey."