Phosphor Mod (1.19.2, 1.18.2) is an Minecraft mod that optimizes the lighting engine, one of Minecraft’s most inefficient parts. It can help you save CPU cycles and increase performance. Does it sound too good to be true Phosphor is already enabled by default in the well-known Aether mod. You can check it out right now and you might consider installing it right away!
Phosphor Mod – 1.19, 1.18.2 – The Performance Improvements are Awesome
- Minecraft 1.12.2 Mods
- Minecraft 1.14.4 Mods
- Minecraft 1.15.2 Mods
- Minecraft 1.16.5 Mods
- Minecraft 1.17.1 Mods
- Minecraft 1.18.1 Mods
- Minecraft 1.18.2 Mods
- Minecraft 1.19 Mods
This mod works on both the client and server and can be installed on servers without requiring clients to also have the mod. The following graph demonstrates the reduction in generation time for a world (with a render distance of 20) for various vanilla and modded dimensions. However, please note that the improvements extend beyond generation time, as well.
How it works:
This mod attempts to significantly improve the performance of Minecraft’s lighting engine by implementing a handful of optimizations while also fixing many long-standing lighting engine bugs. For the curious, here’s a list of what the mod currently does:
- The code responsible for propagating light changes has been completely rewritten to be far more efficient than the vanilla implementation.
- Light updates are postponed until the regions they modify are queried. This allows lighting updates to be batched together more effectively and reduces the number of duplicated scheduled light updates for a block. This significantly reduces the CPU time spent propagating skylight updates.
- Skylight propagation on the vertical axis has been fixed to take into account incoming skylight from neighboring chunks, fixing a variety of lighting issues created during world generation and large operations involving large block volumes (such as /fill.)
- Through fixing various errors in vanilla’s lighting engine implementation, many checks performed when relighting blocks are now skipped, reducing the overhead of lighting updates.
This mod is far from complete, and may still have issues. However, it is stable enough to use without making sacrifices to functionality in-game.
What is this mod not?
While this is a significant improvement of vanilla’s lighting engine implementation, it does not make any changes as to how the light model in Minecraft works. In layman’s terms, this mod does not change or add new features to Minecraft.