
Distant Horizons API
API для взаимодействия с модом Distant Horizons. Только для разработчиков! Обычным игрокам не нужен - сам мод уже включает его.
Оцените первым
1.2M
160
Список изменений
Highlights:
- Up API version 5.1.0 -> 6.0.0
Full Changelog
Additions:
- DhApiRenderParam.dhMvmProjMatrix
- DhApiBlockStateWrapperCreatedEvent
- Allows changing how DH handles certain blocks (IE opacity, Iris material, or color)
- DhApiBlockColorOverrideEvent
- Allows overriding the color of specific blocks when DH is creating render data
- EDhApiRenderApi
- Auto, Open_GL, and Blaze_3D
Improvements:
- Improved several Javadocs
- Fixed a couple typos
- Added some additional deprecation info
- Mentioned a few events/methods that are only relevant to the OpenGL renderer
- Mentioned that IDhApiUnsafeWrapper can return null objects (specifically when dealing with the air block wrapper)
Changes:
- EDhApiRendererMode DEBUG -> DEBUG_TRIANGLE
- IDhApiTerrainDataCache is now AutoClosable
- Replace several "Double" config options with "Float"
- Float is more accurate to what is happening behind the scenes
- EDhApiVerticalQuality
- renamed method calculateMaxVerticalData(byte dataDetail) -> calculateMaxNumberOfVerticalSlicesAtDetailLevel(byte dataDetail)
Deprecations:
- DhApiBeforeColorDepthTextureCreatedEvent
- This event will still be triggered for the OpenGL renderer, but not the Blaze3D renderer
- Using DhApiAfterColorDepthTextureCreatedEvent is recommended instead
Removals:
- IDhApiTerrainDataRepo methods that don't use a IDhApiTerrainDataCache
- If a cache isn't included each call would require a separate database/decompression hit, which is very slow and caused confusion
- Removed SSAO config options
- enabling/disabling SSAO is still available however no additional configuration options can be done
- EDhApiDebugRendering SHOW_RENDER_SOURCE_FLAG
- This hasn't been used for some time
- EDhApiGpuUploadMethod BUFFER_MAPPING
- This has been deprecated for some time and hasn't been used for about as long
Файлы
DistantHorizonsApi-6.0.0.jar(320.73 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
6.0.0
Загрузчики
FabricForgeNeoForge
Версии игры
1.16.5–26.1.2
Загрузок
5.2K
Дата публикации
18.04.2026
