Tags
Creators
Details
All versions
5.4.0
Release
custom-crafter-api 5.4.03 months ago 86
Compatibility
Minecraft: Java Edition
26.1.x
1.21.4–1.21.11
Platforms
Folia
Paper
Purpur
Changes
⚠️ Breaking Changes
CMatter.isValidMatter(),CRecipe.isValidRecipe(),CraftUIDesigner.Baked.isValid(), andAllCandidateUIDesigner.Baked.isValid()no longer returnResult<Unit>; they now throwIllegalStateExceptiondirectly on failure and return nothing on success.CMatter.firstFailedPredicate()andCRecipe.firstFailedRecipePredicate()now returnkotlin.Pair<Int, CMatterPredicate>/kotlin.Pair<Int, CRecipePredicate>instead ofIndexedValue.AllCandidateUIDesigner.Baked.ungeneratedIconPlaceholderItemchanged from the Kotlin function type(CRecipe) -> ItemStacktojava.util.function.Function<CRecipe, ItemStack>.Explainer's constructor parameter order changed from(name, verbosity)to(verbosity, name), since controlling the log level without naming the instance is the more common use case.
✨ New Features and Enhancements
- [Enhancement] Improved Java interoperability across the public API by replacing Kotlin-only return types (
Result,IndexedValue) and lambda parameter types with plain exceptions andjava.util.function.Function.
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:lUgVFdcC:p2cEqsxc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lUgVFdcC:p2cEqsxc"
}

