Mod Starlight (Forge) by Spottedstar

  • Starlight (Forge) by Spottedstar

    Rewrites the light engine to fix lighting performance and lighting errors
    • 2042374
    • 107.99 KB
    • 1.20.1
    • September 12, 2021
    • July 7, 2023
    • Miscellaneous
    Starlight (Forge)
Mod Information
NameStarlight (Forge)AuthorSpottedstarDescriptionRewrites the light engine to fix lighting performance and lighting errors
InformationDownloads: 2042374
Version: 1.20.1
Size: 107.99 KB
Updated at: July 7, 2023
Created at: September 12, 2021
Tags
Miscellaneous

Starlight

Forge mod for rewriting the light engine to fix lighting performance and lighting errors.

Compatibility

Starlight can be installed either on the dedicated server or client. It is not required to be installed on both sides. If you have Starlight on the server, clients can use Vanilla/Starlight to connect. Likewise, if you have Starlight on the client, you can connect to Vanilla/Starlight servers.

Browsing through Starlight's Issue Tracker will show further mod incompatibilities. Starlight is a rather destructive light engine rewrite, so it should be expected to break mods more often.

Purpose

Starlight was developed for higher scale dedicated servers, as they suffered performance problems due to how ungodly slow the light engine was. The only solution was to create an extremely invasive mod which rewrote the entire light engine. I ported the mod to fabric so that I can update it during snapshots, and decided that publishing it for all users, especially client users, would be beneficial. However, it does have the downside of being an invasive mod: Being invasive didn't affect higher scale servers because they run on Bukkit.

Further reading on the technical details of how Starlight achieves its performance can be read here: TECHNICAL_DETAILS.md

Performance

Here are a few graphs showing performance in 3 critical areas: Chunk generation, Block editing at high y-levels, and normal block light updates:

Light engine time chunk generation Graph Block update at height graph Simple glowstone block update