Uses of Class
ke.ric.cooking.data.CraftingInput
Packages that use CraftingInput
Package
Description
Public recipe, ingredient slot, rule matcher, preview context, and output callback contracts.
-
Uses of CraftingInput in ke.ric.cooking.data
Methods in ke.ric.cooking.data that return CraftingInputModifier and TypeMethodDescriptionstatic CraftingInputCraftingInput.fromCustom(org.bukkit.inventory.ItemStack item, String customId) Create a CraftingInput from a custom item.static CraftingInputCraftingInput.fromItem(org.bukkit.inventory.ItemStack item) Classify in strict ownership order: Heirloom, external provider, vanilla.static CraftingInputCraftingInput.fromProvider(org.bukkit.inventory.ItemStack item, ProviderItemRef reference) static CraftingInputCraftingInput.fromVanilla(org.bukkit.inventory.ItemStack item) Create a CraftingInput from a vanilla ItemStack.Methods in ke.ric.cooking.data with parameters of type CraftingInputModifier and TypeMethodDescriptionbooleanIngredientOption.matches(CraftingInput input) Canonical identity is always checked before the optional addon predicate.booleanIngredientSlot.matches(CraftingInput input) Check a full crafting input, including custom item tags.booleanRuleMatcher.matches(CraftingInput input) Check a full crafting input so tags and provider identities stay exact.Method parameters in ke.ric.cooking.data with type arguments of type CraftingInputModifier and TypeMethodDescriptionbooleanRecipe.canMatch(List<CraftingInput> inputs) Check if a list of inputs can potentially match this recipe.booleanRecipeRule.evaluate(List<CraftingInput> inputs) Evaluate this rule against a list of crafting inputs.booleanRecipeRule.evaluate(List<CraftingInput> inputs, Recipe recipe) Evaluate with recipe context.booleanRecipeEligibilityPredicate.isEligible(Recipe recipe, List<CraftingInput> inputs) booleanRuleMatcher.matchesAny(List<CraftingInput> inputs)