nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Distant Horizons API

Distant Horizons API

Mod

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

Library

313.0k downloads
67 followers

4.0.0

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

External resources


Project members

jeseibel

Owner

coolGi

Member

Ran

Member


Technical information

License
LGPL-3.0-only
Client side
unknown
Server side
unknown
Project ID