▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Distant Horizons API
Distant Horizons API

Distant Horizons API

Don't Download Unless You Are A Developer. This is automatically included in the DH mod jar.

1.1M
152

5.1.0

release24 декабря 2025 г.

Highlights:

  • Up API version 5.0.0 -> 5.1.0

Full Changelog

Additions:

  • DhApiRenderParam.clientLevelWrapper
    • The render parameters will now include the IDhApiLevelWrapper that is currently being rendered.

5.0.0

release13 декабря 2025 г.

Highlights:

  • Up API version 4.1.0 -> 5.0.0
  • Removed 2 deprecated constructors
  • Renamed IDhApiTerrainDataRepo.getSoftCache() -> createSoftCache() for clarity

Full Changelog

Additions:

  • EDhApiDataCompressionMode
    • Z_STD_STREAM
      • Deprecated legacy option to support migrating old database formats
      • Identical in behavior to the removed Z_STD option
  • EDhApiLoggerLevel
  • IDhApiGraphicsConfig
    • getBiomeBlending()
  • IDhApiTerrainDataRepo
    • createSoftCache() identical in behavior to the removed getSoftCache(), this was only renamed to prevent confusion
  • DhApiTerrainDataPoint
    • add a default toString() method for easier debugging

Changes:

  • Up API version 4.1.0 -> 5.0.0
  • EDhApiDataCompressionMode
    • Z_STD_BLOCK now uses block compression instead of streams, use Z_STD_STREAM to get the old behavior

Removals:

  • EDhApiDataCompressionMode
    • Z_STD
      • Replaced by Z_STD_STREAM
  • EDhApiLoggerMode
    • Replaced by the more granular options of EDhApiLoggerLevel
  • IDhApiTerrainDataRepo
    • getSoftCache()
      • Replaced by createSoftCache()
        • both methods function identically, the replacement was done just to prevent confusion about how the method would work
  • DhApiChunk
    • remove deprecated constructor
  • DhApiTerrainDataPoint
    • remove deprecated constructor

4.1.0

release12 октября 2025 г.

Highlights:

  • Up API version 4.0.1 -> 4.1.0

Full Changelog

Additions:

  • EDhApiDataCompressionMode.Z_STD
  • EDhApiLoggerMode.LOG_ERROR_TO_CHAT_AND_WARNING_TO_FILE
  • IDhApiEventParam.getCopyBeforeFire()
  • DhApiAfterColorDepthTextureCreatedEvent
  • DhApiBeforeColorDepthTextureCreatedEvent
  • DhApiChunkProcessingEvent
  • Add remove(obj) and remove(index) to IRenderableBoxGroup

Changes:

  • Up API version 4.0.1 -> 4.1.0

Bug Fixes:

  • Fix setting the config value renderingEnabled() causing the user's rendering mode to be changed and saved to file
  • Fix DhApiAfterDhInitEvent firing before the DH config has been set up
  • Fix VANILLA_CHUNKS API world gen

Deprecations:

  • DhApiColorDepthTextureCreatedEvent
    • replaced by DhApiAfterColorDepthTextureCreatedEvent and DhApiBeforeColorDepthTextureCreatedEvent

4.0.1

release12 июля 2025 г.

Highlights:

  • Up API version 4.0.0 -> 4.1.0

Full Changelog

Additions:

  • DhApiAfterColorDepthTextureCreatedEvent
  • DhApiBeforeColorDepthTextureCreatedEvent

Changes:

  • Up API version 4.0.0 -> 4.1.0

Bug Fixes:

  • Fix setting the config value renderingEnabled() causing the user's rendering mode to be changed and saved to file
  • Fix DhApiAfterDhInitEvent firing before the DH config has been set up

Deprecations:

  • DhApiColorDepthTextureCreatedEvent
    • replaced by DhApiAfterColorDepthTextureCreatedEvent and DhApiBeforeColorDepthTextureCreatedEvent

4.0.0

release12 марта 2025 г.

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

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Детали

Лицензия:LGPL-3.0-only
Опубликован:2 года назад
Обновлён:3 месяца назад
Главная