This prevents the client from accidentally selected the wrong world folder to load LODs from, since levels of the same dimension can't naturally be distinguished from each other. With level similarity detection, this can sometimes work, but in general is not reliable. This mechanism instead allows servers to send a packet to the client on load, enabling the override system, and then a second packet on world change, which specifically sets the world key, based on knowledge that only the server has, leading to a reliable way of detecting the correct world.
Distant Horizons
This repo is for the Distant Horizons mod. The purpose of this submodule is to isolate code that isn't tied to a specific version of minecraft. This prevents us from having duplicate code; reducing errors and potentially helping us port to different versions faster and easier.
Check out the mod's main GitLab page here: https://gitlab.com/jeseibel/minecraft-lod-mod
source code installation
You shouldn't download this repo directly. It should be automatically included when pulling the full mod.
Open Source Acknowledgements
LZ4 for Java (data compression)
https://github.com/lz4/lz4-java
Json & Toml for Java (config handling)
https://github.com/TheElectronWill/night-config
SVG Salamander for SVG's
https://github.com/blackears/svgSalamander
FlatLaf for theming (for development testing, may remove later)
https://www.formdev.com/flatlaf/