Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Distant Horizons API

Distant Horizons API

Provides a Minecraft and mod loader independent way of interacting with and modifying Distant Horizons.

430.0k
82
Library

Compatibility

Minecraft: Java Edition

1.21.x
1.20.6
1.20.4
1.20–1.20.2
1.19.4
1.19.2
1.18.2
1.17.1
1.16.5

Platforms

Fabric
Forge
NeoForge

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

jeseibel
jeseibel Owner
coolGi
coolGi Member
Ran
Ran Member

Details

Licensed LGPL-3.0-only
Published 2 years ago
Updated 4 months ago
DescriptionChangelogVersions
All versions4.0.0

4.0.0

Auto-featured
Download
Report

Changelog

API Changes

Highlights:

  • Up API version 3.0.1 -> 4.0.0

Full Changelog

Additions:

  • IDhApiWorldProxy
    • setReadOnly()
    • getReadOnly()
  • IDhApiLevelWrapper
    • getDimensionName()
    • getDhIdentifier()
    • getDhSaveFolder()
  • generateLod()
    • Can be used to generate N-sized LODs
  • IDhApiFogConfig
    • enableDhFog()
    • enableVanillaFog()
  • EDhApiWorldGeneratorReturnType
    • API_DATA_SOURCES
  • IDhApiFullDataSource
    • For use with the IDhApiWorldGenerator
  • DhApiWorldUnloadEvent
  • DhApiWorldLoadEvent
  • IDhApiSaveStructure
  • EDhApiDistantGeneratorMode
    • FULL

Changes:

  • Up API version 3.0.1 -> 4.0.0
  • IDhApiWorldGenerator
    • rename runApiChunkValidation() -> runApiValidation()
  • IDhApiHeightFogConfig
    • heightFogMode -> heightFogDirection
  • EDhApiHeightFogMode -> EDhApiHeightFogDirection
  • EDhApiHeightFogMixMode
    • BASIC -> SPHERICAL
    • IGNORE_HEIGHT -> CYLINDRICAL

Bug Fixes:

  • Fix off by one error in the following IDhApiTerrainDataRepo methods when getting blocks in negative X and/or Z positions:
    • getSingleDataPointAtBlockPos()
    • getColumnDataAtBlockPos()
    • getAllTerrainDataAtChunkPos()
    • getAllTerrainDataAtRegionPos()
    • getAllTerrainDataAtDetailLevelAndPos()

Removals:

  • IDhApiDimensionTypeWrapper
    • getDimensionName()
  • IDhApiWorldGenerator
    • getMinGenerationGranularity()
    • getMaxGenerationGranularity()
    • isBusy()
    • generateChunks() and generateApiChunks() byte granularity parameter
      • int generationRequestChunkWidthCount is it's replacement and represents a different thing. Having the number of chunks wide is much easier to understand than the granularity.
  • IDhApiMultiplayerConfig
    • multiverseSimilarityRequirement()
      • This config is no longer supported or needed

Deprecations:

  • IDhApiFogConfig
    • drawMode()
      • Use enableDhFog() instead
      • The old method is kept but deprecated to prevent breaking support with Iris 1.7.5
    • disableVanillaFog()
      • Use enableVanillaFog() instead
      • The old method is kept but deprecated to prevent breaking support with Iris 1.7.5
  • EDhApiFogDrawMode
    • USE_OPTIFINE_SETTING

Files

DistantHorizonsApi-4.0.0.jar(299.85 KiB) Primary
Download

Metadata

Release channel

Release

Version number

4.0.0

Loaders

Fabric ForgeNeoForge

Game versions

1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1, 1.20.4, 1.20.6–1.21.1, 1.21.3, 1.21.4

Downloads

154044

Publication date

March 11, 2025 at 10:58 PM

Publisher

jeseibel

jeseibel

Owner

Version ID

Modrinth is open source.

feat/theseus/tauri-v2@c5403db

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.