ModsFinder

Distant Horizons API

by jeseibel

This library is for developers who write code against the API, offering a loader-independent way to reach its interfaces.

FabricForgeNeoForgeClient or server, optionalGNU Lesser General Public License v3.0 onlyOpen source1.12.2 – 26.3

What it does

The jar bundles the source code and compiled classes needed to interact with the API without depending on Fabric, Forge or NeoForge specifics. Developers add it to a build during development in place of the full jar, which keeps code from calling unsafe internal methods by accident. It is not meant to be placed in a Mods folder, where it does nothing.

The API is published for Fabric, Forge and NeoForge across 26 release versions, 1.12.2 – 26.3. The latest file is 7.2.0 for 26.3, released on 2026-09-21. It works on either side, and neither needs it, and the code is open source under the GNU Lesser General Public License v3.0 only. Example projects on GitLab cover the basics, and the main issue page takes bug reports and feature requests for the API.

Key features

  1. Loader-independent classes

    The jar contains the classes needed to talk to the API without relying on one specific mod loader.

  2. Development-only jar

    It is meant to be used while building a project, in place of the full jar.

  3. Source code included

    The source is packaged with the classes, so developers can read how the interfaces behave.

  4. Example projects

    Example projects on GitLab show the basic steps for starting to use the API.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.37.2.07.2.07.2.0
26.27.2.07.2.07.2.0
26.1.27.2.07.2.07.2.0
26.1.17.2.07.2.07.2.0
26.17.2.07.2.07.2.0
1.21.x10 of 10 versions with builds
1.21.117.2.07.2.07.2.0
1.21.107.2.07.2.07.2.0
1.21.87.2.07.2.07.2.0
1.21.74.0.14.0.14.0.1
1.21.67.2.07.2.07.2.0
1.21.57.2.07.2.07.2.0
1.21.47.2.07.2.07.2.0
1.21.37.2.07.2.07.2.0
1.21.17.2.07.2.07.2.0
1.214.0.14.0.14.0.1
1.20.x5 of 5 versions with builds
1.19.x2 of 2 versions with builds
1.18.x1 of 1 version with builds
1.17.x1 of 1 version with builds
1.16.x1 of 1 version with builds
1.12.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Building add-ons

Developers who extend the mod compile against this jar rather than the full build.

Who it’s for: Mod developers and maintainers who write code that uses the API. Players who only want to use the game feature do not need this jar.

Questions

Should this jar go in the Mods folder?

No. Putting it in the Mods folder does nothing. It is meant to be used as a development dependency.

Why use this instead of the full jar?

The API jar limits code to interactions the API exposes, which helps avoid accidentally calling unsafe internal methods.

Where should API bugs be reported?

Bugs and feature requests for the API go to the main GitLab issue page.

In the catalog

Distant Horizons API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from jeseibel

All projects

Similar mods

What the author says

Putting this in your Mods folder will do nothing. This jar includes the source code and classes needed to interact with Distant Horizons in a Minecraft and mod loader independent way. This jar should be used during development instead of the full Distant Horizons jar to prevent accidentally using unsafe internal…
jeseibel, on the Modrinth page

Official listing

Owner
jeseibel
Published
2023-06-24
Updated on Modrinth
2026-09-21
Facts verified
2026-10-15

Tags