Lumi Lighting Engine Optimizer
Improves world generation speed, reduces server lag, and fixes lag spikes on client by optimizing the Minecraft lighting engine. Based on Phosphor.
介绍
A full replacement of the Minecraft lighting engine with an extendable API, shipping
with Phosphor as a
reference implementation.
Dependencies
Performance
The main performance improvement comes from the fact that the lighting engine is evaluated “lazily”, thus it is able to batch more lighting updates
into a single pass.
Here are some simple to understand values, generated via profiling a pre-set test case:
Test Case
- World Type: Default
- World Seed: 123
- Game Mode: Creative
- Render Distance: 16
Profiler is started right before clicking Create New World, and stopped after 10 seconds of flying in a straight line in creative mode.
Without Lumi, the active server time spent in lighting engine is 34% of the total active server time (not counting when the server thread is sleeping).
With Lumi, this fraction goes down to 13%, or an approximately 2.5x performance increase over vanilla.
Flame Graphs
Horizontal axis is time, vertical axis is the call stack. The blue highlighted parts are calls to the lighting engine update method.


Incompatibilities
- ArchaicFix: Config Change Needed
- As both mods replace the same parts of code, naturally you will need to set
enablePhosphortofalsein the ArchaicFix config. - CoreTweaks: Config Change Needed
- The
fix_heightmap_rangefeature is already implemented in Lumi’s lighting engine. Set it tofalsein the CoreTweaks config.
Both of these configs will be automatically modified by Lumi automatically when you launch the game, so you shouldn’t even
need to edit the config files manually.
Authors
Credits
- embeddedt
- The initial port of Phosphor into 1.7.10
- CaffeineMC
- Creating the original Phosphor
常见问题
Lumi Lighting Engine Optimizer 支持哪些 Minecraft 版本?
Lumi Lighting Engine Optimizer 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Lumi Lighting Engine Optimizer 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
FalsePattern 的其他作品
查看全部 →
UniMixins
A Mixin loader designed for maximum compatibility.
FalsePatternLib
A 1.7.10 library containing useful and backported code for mods to use
FalseTweaks
Multithreaded rendering plus a large collection of improvements, fixes, optimizations and additions to 1.7.10 clients.
Neodymium Unofficial
Reimplements chunk rendering using modern OpenGL features to improve performance
评论
登录后评论和评分