2026-06-02 07:17:11 -05:00
2026-06-01 22:07:08 -05:00
wao
2026-03-29 19:29:11 +11:00
2026-06-01 19:05:05 -05:00
2024-09-10 06:52:21 -05:00
2025-11-26 13:55:47 -06:00
2026-06-09 07:41:34 -05:00
2026-03-20 22:19:28 +13:00
2026-05-16 10:20:09 -05:00
2026-05-21 12:46:51 +00:00
2026-05-21 12:46:51 +00:00
2024-09-22 17:19:00 -05:00
2021-07-05 18:04:30 +00:00
2026-05-21 12:46:51 +00:00
wao
2026-03-29 19:29:11 +11:00
2026-05-21 12:46:51 +00:00

See farther without turning your game into a slide show.


What is Distant Horizons?

Distant Horizons is a mod which implements a Level of Detail system to Minecraft.
This allows for far greater render distances without harming performance by gradually lowering the quality of distant terrain.

Below is a video demonstrating the system:

Distant Horizons - Alpha 2.0

Translations

Crowdin
Crowdin Project: Distant Horizons
Guidelines: translations.md

Source Code Installation

Prerequisites

If using IntelliJ:

  1. Install the Manifold plugin
  2. Open IDEA and import the build.gradle
  3. Refresh the Gradle project in IDEA if required

Switching Versions

To switch between different Minecraft versions, change mcVer=1.? in the gradle.properties file.

If running in an IDE, to ensure the IDE noticed the version change, run any gradle command to refresh gradle.
In IntelliJ, you will also need to do a gradle sync if it didn't happen automatically.


Compiling

Prerequisites:

  • JDK 25 or newer

From the command line:

  1. git clone --recurse-submodules https://gitlab.com/distant-horizons-team/distant-horizons.git
  2. cd distant-horizons
  3. ./gradlew assemble
  4. The compiled jar file will be in the folder \build\libs

From the File Explorer:

  1. Download and extract the project zip
  2. Download the core from https://gitlab.com/distant-horizons-team/distant-horizons-core and extract into a folder called coreSubProjects
  3. Open command prompt/terminal in the project folder
  4. Run the commands: ./gradlew assemble
  5. The compiled jar file will be in the folder \build\libs

Note: You can add the argument -PmcVer=? to tell gradle to build a selected MC version instead of having to modify the gradle.properties file.
For example: ./gradlew assemble -PmcVer=1.18.2


Other commands

Run the standalone jar: ./gradlew run
Build the standalone jar: ./gradlew core:build
Only build Fabric: ./gradlew fabric:assemble or ./gradlew fabric:build
Only build Forge: ./gradlew forge:assemble or ./gradlew forge:build
Run the Fabric client (for debugging): ./gradlew fabric:runClient
Run the Forge client (for debugging): ./gradlew forge:runClient
Delete all compiled code: ./gradlew clean
Refresh local dependencies: ./gradlew --refresh-dependencies

To build all versions: ./buildAll


Open Source Libraries

Forgix (To merge multiple mod versions into one jar) [Formerly DHJarMerger]
https://github.com/PacifistMC/Forgix

LZ4 for Java (data compression)
https://github.com/lz4/lz4-java

NightConfig for JSON & TOML (config handling)
https://github.com/TheElectronWill/night-config

SVG Salamander for SVG support (not being used atm)
https://github.com/blackears/svgSalamander

sqlite-jdbc
https://github.com/xerial/sqlite-jdbc

Acknowledgements

Distant Horizons has been graciously provided an open source license for YourKit Java Profiler.

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

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%