alkafirs_factory_lights-2.0.0.jar
Curse Maven Snippet
What's new
Alkafir's Factory Lights 2.0.0
🔧 Major Performance Update
This update completely rewrites how lights are placed and managed. If you were experiencing server lag, stuttering mobs, or slow machines after placing multiple lamps — this fixes it.
What changed:
Lamps no longer constantly check their surroundings every few ticks. They now only recalculate when something actually changes nearby, like a block being placed or removed inside the light cone.
Mobs and animals walking through a lit area no longer cause any recalculation.
When two lamp cones overlap, the shared area is now only calculated once instead of twice.
Placing lights no longer triggers chain reactions in other mods' systems (fixes lag spikes caused by interactions with ExMachina, Aether II, Logistics Networks and similar mods).
Under the hood:
All lamp types now share the same core light management code, making future lamps much easier to add.
This mod has no additional files

