Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 2 months ago
All versions
6.0.0
Release
6.0.04 months ago 5,230
Uploaded by
Compatibility
Minecraft: Java Edition
26.1.x
1.21.10–1.21.11
1.21.8
1.21.3–1.21.6
1.21.1
1.20.6
1.20.4
1.20.1–1.20.2
1.19.4
1.19.2
1.18.2
1.17.1
1.16.5
Platforms
Fabric
Forge
NeoForge
Supported environments
Client-side
Server-side
Client and server
Changes
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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Xs0XTOVv:tRiLw5Uf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Xs0XTOVv:tRiLw5Uf"
}

