## 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
<br/>
**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)
<br/>
**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)
<br/>
**Deprecations:**
- DhApiBeforeColorDepthTextureCreatedEvent
- This event will still be triggered for the OpenGL renderer, but not the Blaze3D renderer
- Using DhApiAfterColorDepthTextureCreatedEvent is recommended instead
<br/>
**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
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }