Unofficial site, not affiliated with modrinth.com.What is this?
Моды/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.2M
159

6.0.0

Release1 мес. назад

Список изменений

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

Метаданные

Канал релиза

Release

Номер версии

6.0.0

Загрузчики

Fabric
Forge
NeoForge

Версии игры

1.16.5–26.1.2

Загрузок

5.1K

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная