Lighto

Client-side colored block lighting for Minecraft — hue only, so shaders keep working.
Back to Files

lighto-1.20.1-1.0.2

File namelighto-1.20.1-1.0.2.jar
Uploader
_nArUTo__nArUTo_
Uploaded
Dec 1, 2026
Downloads
2
Size
901.4 KB
Mod Loaders
Forge
File ID
9948224
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:lighto-1839520:9948224")

Learn more about Curse Maven

What's new

1.0.2

Fixed

  • Entities were tinted from the wrong position. EntityRenderDispatcher#render receives coordinates relative to the camera, and the entity tint was sampling the light color with those coordinates as if they were world coordinates. In practice the tint was read from the blocks around the world origin at entityPos - cameraPos, so it changed with the camera angle and painted players, mobs and their capes with whatever color the world origin happened to be lit with (a green hue in a lush cave or under a green light). The tint is now sampled at Entity#getLightProbePosition, the same cell the entity model takes its vanilla light from, so it follows the entity and matches the light it is rendered with.

1.0.1

Performance and correctness pass on the colored light data layer. No API, config or resource-pack changes.

Fixed

  • Turning colored light off now really turns it off. enabled = false only stopped the tinting before: chunk scanning, light propagation and chunk rebuilds kept running in the background. All of that work is now skipped while the feature is off, and the tint that was already baked into chunk meshes is rebuilt away immediately instead of staying on screen until those chunks happen to be rebuilt anyway.
  • Turning it back on rebuilds the data right away from the chunks that are loaded at that moment, so colors no longer take a while to show up again.
  • Chunk unload no longer walks the light volume of a column that is about to be discarded. The whole column leaves the storage first, so only the sections that stay loaded are cleaned up.

Changed

  • Chunk load/unload light work is now queued and spread over client ticks with a per-tick budget instead of running inside the packet handler. Crossing chunk borders in a lava-heavy Nether used to cost 10-20 ms per event, which showed up as a frame spike every time you moved.
  • Queued chunk scans are served before unload cleanups, so newly visible terrain gets its colors first.
  • The scratch list used by the unload cleanup is a compact array instead of a hash set that kept paying for its historical peak size on every clear and every iteration.
  • /lighto status also reports scans= and repairs= (the two new queues), which is what to look at when reporting a stutter.

Notes

  • Sprinting through a large lava sea for a long time can make the cleanup queue fall behind: colors at the edge of the render distance may lag for a moment and catch up within a few seconds once you slow down.

1.0.0

  • Initial release.