Tags
Creators
Details
Licensed MIT
Published 3 years ago
Updated 5 months ago
All versions
1.6.0-1.21.4
Release
GDMC HTTP Interface 1.6.0-1.21.42 years ago 286
Compatibility
Minecraft: Java Edition
1.21.4
Platforms
Fabric
Forge
Supported environments
Client-side
Server-side
Required content
Unavailable version
Changes
- NEW:
GET /heightmapendpoint no longer requires having to set a build area using the in-game/setbuildareacommand. It now also acceptsx,z,dxanddzparameters to specify any area. - NEW:
GET /heightmapendpoint also accepts awithinBuildAreaflag to skip over positions outside the build area. - NEW:
GET /heightmapendpoint can now also match specific block states when using custom heightmaps. For example:blocks=oak_log[axis=y]will only include upright oak tree logs, while horizontal oak logs (minecraft:oak_log[axis=x]andminecraft:oak_log[axis=z]) are excluded. - FIX:
GET /blocksnow returnsminecraft:void_airinstead ofminecraft:airfor positions outside the vertical world limit. - FIX:
PUT /blocksdiscard placement instructions outside vertical world limit. - FIX:
GET /heightmapfixed inconsistent responses when using custom block lists due to undefined behaviour during parsing of theblocksquery parameter. - FIX:
GET /heightmapwhen using custom heightmaps, match blocks on all possible block states instead of only the default ones. For example:blocks=oak_lognow matchesminecraft:oak_log[axis=x]andminecraft:oak_log[axis=z]in addition to the defaultminecraft:oak_log[axis=y]. - FIX:
GET /heightmapvalues ofyBoundsparameter are now clamped to the vertical world limit. - FIX:
GET /biomesnow returns an empty string for the biome ID if the requested position is outside vertical world limit.
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:WIrp0w7r:Va8O7i1e"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:WIrp0w7r:Va8O7i1e"
}

