
custom-crafter-api
An advanced PaperMC crafting engine for building complex recipes with NBT-supported custom items.
Оцените первым
998
2
Список изменений
⚠️ Breaking Changes
- [Dependency Removal] Removed the Choco-solver dependency; shapeless matching now uses an in-house max-flow solver, so the
org.chocosolvershaded relocation is gone. CMatter.predicateschanged fromCollection<CMatterPredicate>?toList<CMatterPredicate>?, making predicate order significant.CMatterImpl.defaultMatterPredicates()now returnsList<CMatterPredicate>instead ofSet<CMatterPredicate>.CMatterPredicate.ContextandCRecipePredicate.Contextgained a trailingexplainerparameter; Kotlin source compatibility is preserved, but binary compatibility is not.
✨ New Features and Enhancements
- [New Feature] Added
Explainer: an opt-in, thread-safe diagnostic recorder that reports why each recipe did or did not match during a search. - [New Feature] Added
MatchGroupandCRecipe.matchGroups(), generalising shapeless matching from "every slot is mandatory" into a min/max bounded assignment. - [New Feature] Added
ShapelessGroupRecipe: the shapeless counterpart ofGroupRecipe, needing noMaterial.AIRplaceholder to express an optional slot. - [New Feature] Added the
CMatterPredicatesandCRecipePredicatesutility objects, providing theand,or,allOf, andnOfcombinators. - [New Feature] Added
named()and aname()default method on both predicate interfaces, so a predicate is reported by name instead of by index (combinators compose names automatically). - [Enhancement]
CMatterPredicate.ContextandCRecipePredicate.Contextnow expose anexplainerfield, letting a predicate record why it rejected an input. - [Enhancement] Added
CMatter.firstFailedPredicate()andCRecipe.firstFailedRecipePredicate(), returning the first rejecting predicate instead of only whether one rejected. - [Enhancement]
Search.search,Search.asyncSearch,PartialSearch.asyncPartialSearch, andVanillaSearch.searchnow accept an optionalexplainer. - [Documentation] Added the "Advanced Debugging for Recipe Search" page (EN / JA) and documented the
Predicatesutilities and predicate naming on theCRecipePredicatepage.
Файлы
custom-crafter-api-5.3.0.jar(428.58 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
5.3.0
Загрузчики
FoliaPaperPurpur
Версии игры
1.21.4–26.1.2
Загрузок
15
Дата публикации
27.07.2026
