lighto-1.20.1-1.0.1
Curse Maven Snippet
What's new
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 = falseonly 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 statusalso reportsscans=andrepairs=(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.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

