Phosphor

Phosphor

Mod

No-compromises lighting engine optimization mod

Client or server OptimizationUtility

576.8k downloads
2,865 followers
Follow Save
Phosphor has been archived. Phosphor will not receive any further updates unless the author decides to unarchive the project.
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...

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.

Installation on servers:

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.

Bug Fix

  • Fixed a concurrency issue that could lead to lightmaps being discarded upon reloading chunks (#49). The fix will only prevent new glitches but will not repair already existing ones. If upgrading an already corrupted world to 0.7.2, you need to erase the light cache once, see the note on MC-142134 for complete instructions.

Change

  • Mark 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.

Bug Fixes

  • Fixed a game hangup that occured in some situations where chunks were resent due to large numbers of block updates or specific servers (#36, #39)
  • Fixed that some chunks were missing skylight after worldgen, due to wrong order of operations caused by a missing update notification. The fix will only prevent new glitches in chunks generated with 0.7.1 but will not repair already existing glitches. If upgrading an already corrupted world to 0.7.1, you need to erase the light cache once, see the note on MC-142134 for complete instructions.

Project members

jellysquid3

Owner

PhiPro95

Member

Details

Licensed LGPL-3.0-only
Published 4 years ago
Updated 2 years ago