A Fabric mod designed to dramatically improve the performance of Minecraft's lighting engine while fixing many bugs
This release contains the compatibility update to 1.19.
This release contains the compatibility update to 1.18. Additionally, a small optimization is added to reduce the workload for the lightmap complexity initialization upon chunk loading added by Phosphor.
Fabric needs to be installed using fabric-installer >= 0.10.0
on servers in order to properly work with Mixins for Java 17. If the game crashes with error message The requested compatibility level JAVA_17 could not be set. Level is not supported by the active JRE or ASM version (Java 17.0, ASM 9.0 (ASM10_EXPERIMENTAL))
, please reinstall Fabric.
This release contains mainly internal changes and the compatibility update to 1.17. The approach for initial lighting is changed, which should lead to a small speedup. Together with some other changes, this furthermore establishes compatibility with the 1.17 world height changes.
This release contains mainly internal changes. The approach for initial lighting is changed, which should lead to a small speedup. Together with some other changes, this furthermore establishes compatibility with the 1.17 world height changes.
This release fixes a data loss bug present in 0.7.1 and 0.7.0.
Starlight
as incompatible. Having both Phosphor
and Starlight
installed will now lead to a crash instead of loading the game normally and causing unexpected logic errors later on. Phosphor
and Starlight
were always incompatible and will always be, as they reimplement the lighting engine to a certain extent, hence modifying the same code in conflicting ways. With this change the game simply shuts down gracefully instead of causing undefined behavior.This release fixes two critical bugs introduced in 0.7.0.
This release fixes a few bugs in earlier versions of Phosphor and includes many new patches by @PhiPro95 which fix bugs and other performance sore spots in the vanilla lighting engine. Minecraft 1.16.2 or newer is required for this release as these new patches depend on recent changes in vanilla.
This update brings Phosphor up-to-date with Minecraft 1.16.1 and introduces some new optimizations for light array copying that can greatly reduce the memory allocation rate and CPU overhead when light updates are being performed.
This release fixes an issue in Phosphor 0.5.1 where full-block (opaque) light sources would not emit any light in the world.
This release fixes an issue in Phosphor 0.5.1 where full-block (opaque) light sources would not emit any light in the world.