2021-12-10 00:50:31 +00:00
2021-12-03 06:17:06 +00:00
2021-12-10 00:50:31 +00:00
2021-12-10 00:50:31 +00:00
2021-12-10 00:50:31 +00:00
2021-11-26 15:47:48 +00:00
2021-12-01 13:25:47 +06:00
2021-12-06 06:15:24 +00:00
2021-07-05 18:04:30 +00:00
2021-12-09 21:19:54 +06:00
2021-11-26 23:28:54 +06:00

Distant Horizons

This mod adds a Level Of Detail (LOD) system to Minecraft.
This implementation renders simplified chunks outside the normal render distance
allowing for an increased view distance without harming performance.

Or in other words: this mod lets you see farther without turning your game into a slide show.
If you want to see a quick demo, check out a video covering the mod here:

Minecraft Level Of Detail (LOD) mod - Alpha 1.5

Forge version: 37.1.0
Fabric version: 0.11.6
Fabric API version: 0.37.1+1.17

Notes:
This version has been confirmed to work in Eclipse and Retail Minecraft.
(Retail running forge version 1.17.1-37.1.0 and fabric version 1.17.1-0.11.6)

source code installation

See the Forge Documentation online for more detailed instructions:
http://mcforge.readthedocs.io/en/latest/gettingstarted/

Prerequisites

  • A Java Development Kit (JDK) for Java 16 (recommended) or newer. Visit https://adoptium.net/releases.html for installers.
  • Any Java IDE, for example Intellij IDEA and Eclipse. You may also use any other code editors, such as Visual Studio Code.

If using Ecplise: not supported...

If using IntelliJ:

  1. open IDEA and import the build.gradle
  2. refresh the Gradle project in IDEA if required
  3. wait for the minecraft jars to generate

Side note: invalidate caches and restart if required

Compiling

Using GUI

  1. open a command line in the project folder
  2. run the command: ./gradlew build
  3. the compiled jar file will be in the folder fabric/build/libs/ and forge/build/libs/

If in terminal:

  1. git clone -b 1.17.1 --recurse-submodules https://gitlab.com/jeseibel/minecraft-lod-mod.git
  2. cd minecraft-lod-mod
  3. ./gradlew build (must be run as root on linux)
  4. The build should be in fabric/build/libs/ and forge/build/libs/

Other commands

./gradlew --refresh-dependencies to refresh local dependencies.

./gradlew clean to reset everything (this does not affect your code) and then start the process again.

Note to self

The Minecraft source code is NOT added to your workspace in an editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes only.

Source code uses Mojang mappings.

The source code can be 'created' with the ./eclipse command and can be found in the following path:
minecraft-lod-mod\build\fg_cache\mcp\ VERSION \joined\ RANDOM_STRING \patch\output.jar

Open Source Acknowledgements

XZ for Java (data compression)
https://tukaani.org/xz/java.html

S
Description
Patch to shard the DH SQLite DB for improved performance on large worlds
Readme 63 MiB
Languages
Java 99.1%
Python 0.3%
Batchfile 0.2%
PowerShell 0.2%
Shell 0.2%