Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 2 months ago
All versions
4.0.0
Release
4.0.0last year 251.2K
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.3–1.21.4
1.21–1.21.1
1.20.6
1.20.4
1.20.1
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
API Changes
Highlights:
- Up API version 3.0.1 -> 4.0.0
Full Changelog
Additions:
- IDhApiWorldProxy
- setReadOnly()
- getReadOnly()
- IDhApiLevelWrapper
- getDimensionName()
- getDhIdentifier()
- getDhSaveFolder()
- generateLod()
- Can be used to generate N-sized LODs
- IDhApiFogConfig
- enableDhFog()
- enableVanillaFog()
- EDhApiWorldGeneratorReturnType
- API_DATA_SOURCES
- IDhApiFullDataSource
- For use with the IDhApiWorldGenerator
- DhApiWorldUnloadEvent
- DhApiWorldLoadEvent
- IDhApiSaveStructure
- EDhApiDistantGeneratorMode
- FULL
Changes:
- Up API version 3.0.1 -> 4.0.0
- IDhApiWorldGenerator
- rename runApiChunkValidation() -> runApiValidation()
- IDhApiHeightFogConfig
- heightFogMode -> heightFogDirection
- EDhApiHeightFogMode -> EDhApiHeightFogDirection
- EDhApiHeightFogMixMode
- BASIC -> SPHERICAL
- IGNORE_HEIGHT -> CYLINDRICAL
Bug Fixes:
- Fix off by one error in the following IDhApiTerrainDataRepo methods when getting blocks in negative X and/or Z positions:
- getSingleDataPointAtBlockPos()
- getColumnDataAtBlockPos()
- getAllTerrainDataAtChunkPos()
- getAllTerrainDataAtRegionPos()
- getAllTerrainDataAtDetailLevelAndPos()
Removals:
- IDhApiDimensionTypeWrapper
- getDimensionName()
- IDhApiWorldGenerator
- getMinGenerationGranularity()
- getMaxGenerationGranularity()
- isBusy()
- generateChunks() and generateApiChunks() byte granularity parameter
- int generationRequestChunkWidthCount is it's replacement and represents a different thing. Having the number of chunks wide is much easier to understand than the granularity.
- IDhApiMultiplayerConfig
- multiverseSimilarityRequirement()
- This config is no longer supported or needed
- multiverseSimilarityRequirement()
Deprecations:
- IDhApiFogConfig
- drawMode()
- Use enableDhFog() instead
- The old method is kept but deprecated to prevent breaking support with Iris 1.7.5
- disableVanillaFog()
- Use enableVanillaFog() instead
- The old method is kept but deprecated to prevent breaking support with Iris 1.7.5
- drawMode()
- EDhApiFogDrawMode
- USE_OPTIFINE_SETTING
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:FH0Uolpm"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Xs0XTOVv:FH0Uolpm"
}

