Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 6 hours ago
All versions
7.3.0
Release
7.3.06 hours ago 5
Compatibility
Minecraft: Java Edition
26.3
26.2
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
1.12.2
1.7.10
Platforms
Fabric
Forge
NeoForge
Supported environments
Client-side
Server-side
Client and server
Changes
Highlights:
- Up API version 7.2.0 -> 7.3.0
- Added the ability to set custom rendering engines (definitions) via IDhApiRenderProxy (necessary for Iris' future Vulkan update)
- Added the ability to set DH block models
Full Changelog
Additions:
-
new class methods
- DhApiVec3d
- set(DhApiVec3d that)
- set(double x, double y, double z)
- DhApiBlockStateWrapperCreatedEvent
- setAllowApiModelOverride(boolean allowApiModelOverride)
- boolean getAllowApiModelOverride()
- IDhApiRenderProxy
- reloadRenderDataCache()
- setRenderDefinitionOverrideAsync(AbstractDhApiRenderDefinition renderDef, String apiUserDisplayName)
- clearRenderDefinitionOverrideAsync()
- setUseDhRenderInjections(boolean useDhRenderInjections)
- getUseDhRenderInjections()
- renderLodPass(DhApiMat4f minecraftModelViewMatrix, DhApiMat4f minecraftProjectionMatrix, float partialTickTime, IDhApiLevelWrapper clientLevelWrapper, boolean deferredLayer)
- renderVanillaFadePass(DhApiMat4f minecraftModelViewMatrix, DhApiMat4f minecraftProjectionMatrix, float partialTickTime, IDhApiLevelWrapper clientLevelWrapper, boolean deferredLayer)
- IDhApiRenderableBoxGroup
- IDhApiGenericObjectVertexBufferContainer getRenderVertexBufferContainer()
- IDhApiCustomRenderRegister
- Collection<? extends IDhApiRenderableBoxGroup> getRenderBoxList()
- DhApiVec3d
-
new class parameters
- DhApiRenderParam - AbstractDhApiRenderDefinition renderDefinition - boolean vanillaFogEnabled
-
New enum values
- EDhApiRenderingEngine
- API
- EDhApiRenderingApi
- UNKNOWN
- provided for API users who want to create a rendering engine that isn't Vulkan or OpenGL based
- UNKNOWN
- EDhApiGrassSideRendering
- GRASS_TOP_BLOCK
- EDhApiRenderingEngine
-
new classes
- AbstractDhApiRenderDefinition
- DhApiBlockModelOverrideEvent
- DhApiEBeforeRenderDataCacheClearEvent
- DhApiModelQuad
- EDhApiTerrainRenderPass
- EDhApiTerrainVertexFormat
- IDebugBox
- IDhApiAntiAliasRenderer
- IDhApiBlockTextureAtlas
- IDhApiDebugWireframeRenderer
- IDhApiFarFadeRenderer
- IDhApiFogRenderer
- IDhApiGenericObjectVertexBufferContainer
- IDhApiGenericRenderer
- IDhApiMetaRenderer
- IDhApiReadOnlyList
- IDhApiSsaoRenderer
- IDhApiTerrainBufferContainer
- IDhApiTerrainContainerUniformBufferWrapper
- IDhApiTerrainRenderer
- IDhApiTestTriangleRenderer
- IDhApiVanillaFadeRenderer
- IDhApiVertexBufferWrapper
Fixes
- DhApiFogRenderParam setting the far fog max thickness incorrectly
- DhApiBlockTextureOverrideEvent not setting the initial texture pixel array
- This caused unset blocks to use the wrong/no texture
- Fix a rare OverrideInjector concurrency issue
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:TuyyGndu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Xs0XTOVv:TuyyGndu"
}

