Tags
Creators
Details
All versions
5.0.21
Release
custom-crafter-api 5.0.216 months ago 20
Compatibility
Minecraft: Java Edition
26.1.x
1.21.4โ1.21.11
Platforms
Folia
Paper
Purpur
Changes
โจ New Features and Enhancements
- [New Feature] Added
ReplaceableResultSupplierinterface: writes items back into crafting UI slots after a craft, enabling ingredient transformation (e.g. returning a modified tool) and byproduct placement patterns. - [New Feature] Added
ResultSupplier.Context.CallModeenum (CRAFT/ICON): allowssupply()implementations to distinguish a real craft from an icon-generation call (e.g. in the AllCandidateUI display), replacing the oldisMultipleDisplayCallfield. - [New Feature] Added
CraftInputInterruptEvent: fired when a player interacts with input slots or closes the CraftUI while a craft process is in progress. - [New Feature] Added
PreventDoubleCraftEvent: fired when a player attempts to start a new craft while one is already running. - [Enhancement] Added
PartialSearchAPI: asynchronous partial recipe match search for crafting hints and autocomplete suggestions. Supports both shaped and shapeless recipes. - [New Feature] Added
CVanillaRecipe.fromTransmute(): converts a vanillaTransmuteRecipeinto aCVanillaRecipe, enabling transmute recipes to be used withPartialSearchand other CustomCrafter features. Each ingredient'sRecipeChoiceis converted to aCMatterPredicateviaRecipeChoice.test(), so NBT and exact-item constraints are preserved.
๐ Fix
- Fixed a race condition in
ONLY_FIRSTsearch mode that could return an empty result even when a matching recipe existed. - Fixed
isAsync()returning an inverted value inCMatterPredicate.ContextandCRecipePredicate.Context. CompletableFuturetasks now consistently run on virtual threads.
Optional dependencies
Any compatible version
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:2bytKIVS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lUgVFdcC:2bytKIVS"
}

