nopjmp / Dionysus

Minecraft 1.12.2 Paper Fork designed for high player counts and anarchy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Light optimisation

RemainingToast opened this issue · comments

Is your feature request related to a problem? Please describe.
Lag caused by light updates

Describe the solution you'd like
Queue light updates, like ccSpigot

Describe alternatives you've considered
ccSpigot

queue lighting updates is a default paper feature, but I need to expand it a bit more and optimize the lighting calculations with some modifications from phosphor / tuinity's light system. Main issue is that newer versions of minecraft are using VoxelShape obstractions and I need to study both sides and compare since I'm not familiar enough.

queue-light-updates: true in paper.yml

Implemented as light-updates-max-ms-per-tick