Compatibility
Minecraft: Java Edition
1.21.10–1.21.11
1.21.3–1.21.8
1.21–1.21.1
1.20.6
1.20.4
1.20–1.20.2
1.19.4
1.19.2
1.18.2
1.17.1
1.16.5
Platforms
Supported environments
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 3 weeks ago
Changelog
Highlights:
- Due to breaking changes the api version number has been up from 1.0.0 to 2.0.0
- please make sure your implementing programs check the API version and handle old DH versions cleanly.
Full Details:
Breaking Changes
-
Renamed
- ERendererMode -> EDhApiRendererMode
- DhApiChunkOfDataPoints -> DhApiChunk
- DhApiTerrainDataPoint
- lightLevel -> blockLightLevel, skyLightLevel
- DhApiBeforeRenderEvent and DhApiAfterRenderEvent -> EventParam
- DhApiBeforeRenderEvent.EventParam -> DhApiRenderParam
- DhApiAfterRenderEvent.EventParam -> DhApiRenderParam
- Added missing "DhApi" prefix to the following enums:
- EDhApiQualityPreset
- EDhApiThreadPreset
- EDhApiBlocksToAvoid
- EDhApiDataCompressionMode
- EDhApiGLErrorHandlingMode
- EDhApiGlProfileMode
- EDhApiGpuUploadMethod
- EDhApiGrassSideRendering
- EDhApiHorizontalQuality
- EDhApiLodShading
- EDhApiLoggerMode
- EDhApiMaxHorizontalResolution
- EDhApiServerFolderNameMode
- EDhApiUpdateBranch
- EDhApiVanillaOverdraw
- EDhApiVerticalQuality
- EDhApiWorldCompressionMode
- EDhApiDebugRendering
- EDhApiFogColorMode
- EDhApiFogDrawMode
- EDhApiFogFalloff
- EDhApiHeightFogMixMode
- EDhApiHeightFogMode
- EDhApiRendererMode
- EDhApiRenderPass
- EDhApiTransparency
- EDhApiWorldGeneratorReturnType
-
Replaced
- IDhApiRenderProxy
- removed getDhFrameBufferId() and setTargetFrameBufferId()
- replaced with the bindable IDhApiFramebuffer interface
- removed getDhFrameBufferId() and setTargetFrameBufferId()
- IDhApiGraphicsConfig
- Replaced overdrawPrevention() with overdrawPreventionRadius()
- Removed DhApiScreenResizeEvent
- replaced with DhApiColorDepthTextureCreatedEvent
- IDhApiRenderProxy
Additions
-
expand API to allow world generator to generate chunks of data points in addition to actual chunks. - Builderb0y
-
usable interfaces
- IDhApiWrapperFactory
-
bindable interfaces
- IDhApiFramebuffer
- IDhApiShaderProgram
- IDhApiCullingFrustum
- IDhApiShadowCullingFrustum
-
bindable events
- DhApiBeforeApplyShaderRenderEvent
- DhApiBeforeBufferRenderEvent
- DhApiBeforeDeferredRenderEvent
- DhApiBeforeRenderCleanupEvent
- DhApiBeforeRenderPassEvent
- DhApiBeforeRenderSetupEvent
- DhApiBeforeTextureClearEvent
- DhApiColorDepthTextureCreatedEvent
-
methods
- IDhApiRenderProxy
- setDeferTransparentRendering()
- getDeferTransparentRendering()
- getNearClipPlaneDistanceInBlocks()
- IOverrideInjector.unbind()
- DhApi.isDhThread()
- DhApiConfigValue.clearValue()
- IDhApiRenderProxy.getDhFrameBufferId()
- IDhApiWorldGenerator
- generateChunks()
- generateApiChunks()
- EDhApiWorldGeneratorReturnType getReturnType()
- IDhApiConfigValue
- getApiValue()
- clearValue()
- IDhApiRenderProxy
-
variables
- DhApiRenderParam
- EDhApiRenderPass renderPass
- float nearClipPlane
- float farClipPlane
- DhApi.wrapperFactory
- DhApiRenderParam
Dependencies
Files
Metadata
Release channel
ReleaseVersion number
2.0.0Loaders
Game versions
1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1–1.20.2, 1.20.4, 1.20.6Environment
Client and server, best when installed on both
Downloads
9163Publication date
June 1, 2024 at 1:54 PMPublisher
jeseibel
Owner



