
custom-crafter-api
An advanced PaperMC crafting engine for building complex recipes with NBT-supported custom items.
502
2
custom-crafter-api 5.1.0
release1 мая 2026 г.5.1.0
The minimum compatible version requirement rarely changes between updates. Using the latest release is recommended.
⚠️ Breaking Changes
- [Package Rename] Several packages have been significantly renamed and reorganized. Projects that reference specific package paths will require import updates.
✨ New Features and Enhancements
- [New Feature] Added
AdjacentRecipe: a recipe that requires input items to be placed adjacent to one another — a weakly shape-constrained recipe type. - [Enhancement] Simplified constructors for several classes to reduce boilerplate in common use cases.
🛠 Fix
- Fixed an issue where item replacement after a craft did not work correctly when a customized crafting UI layout was applied.
- Fixed a critical bug in shapeless recipe matching where a recipe slot with no valid candidates was silently skipped instead of causing the match to fail. This allowed invalid ingredient combinations to incorrectly succeed and prevented some inputs from being consumed.
custom-crafter-api 5.0.21
release26 апреля 2026 г.✨ 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.
custom-crafter-api 5.0.20-p1
release16 апреля 2026 г.🛠 Fix
- UI processing order
custom-crafter-api 5.0.20
release26 марта 2026 г.✨ New Features and Enhancements
- [Enhancement] Async interruption support
- [Enhancement] Faster rendering in AllCandidateUI
- [Enhancement] Folia support
custom-crafter-api 5.0.19
release9 февраля 2026 г.5.0.19
✨ New Features and Enhancements
- [Enhancement] Search speed for shapeless recipes is now faster.
🛠 Fix
- Event internal fix
Совместимость
Создатели
Детали
Лицензия:MIT
Опубликован:5 месяцев назад
Обновлён:3 дня назад
