Uses of Class
ke.ric.cooking.data.RecipeItemRef
Packages that use RecipeItemRef
Package
Description
Public entry point and addon lifecycle contracts for integrating with Heirloom.
Owner-scoped registration facades for custom items, recipes, crops, dietary properties,
seed acquisition rules, advancements, and staged aging definitions.
Public recipe, ingredient slot, rule matcher, preview context, and output callback contracts.
-
Uses of RecipeItemRef in ke.ric.api
Methods in ke.ric.api that return RecipeItemRefModifier and TypeMethodDescriptionGuideRegistration.OwnedItemUse.input()Returns the value of theinputrecord component.GuideRegistration.OwnedItemUse.output()Returns the value of theoutputrecord component.Methods in ke.ric.api with parameters of type RecipeItemRefModifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackGuideRegistration.createProductionPreview(RecipeItemRef item, String qualifier) Resolve from the current registration each time; provider-owned items remain opaque.GuideRegistration.findItemUses(RecipeItemRef input, org.bukkit.entity.Player viewer) Discovery is checked before any entries, output identities or counts are exposed.GuideRegistration.findProductionDestination(RecipeItemRef item, String qualifier) Exact typed matching; a qualified ingredient never silently falls back to its base item.voidGuideRegistration.registerItemUse(String id, RecipeItemRef input, RecipeItemRef output, GuideDestination destination, String label, Predicate<org.bukkit.entity.Player> visibility) Register a nonrecipe relationship with explicit logical identities and viewer visibility.voidGuideRegistration.registerProductionDestination(RecipeItemRef item, String qualifier, GuideDestination destination) Register an exact logical ingredient destination inside its owning addon callback.voidGuideRegistration.registerProductionDestination(RecipeItemRef item, String qualifier, GuideDestination destination, Supplier<org.bukkit.inventory.ItemStack> preview) Register one exact producer and its optional visible output.voidGuideRegistration.registerProductionDestination(RecipeItemRef item, String qualifier, GuideDestination destination, Supplier<org.bukkit.inventory.ItemStack> preview, boolean preferProduction) Explicitly opt a declared ingredient into its full production guide before individual recipes.Constructors in ke.ric.api with parameters of type RecipeItemRefModifierConstructorDescriptionOwnedItemUse(String ownerId, String id, RecipeItemRef input, RecipeItemRef output, GuideDestination destination, String label, Predicate<org.bukkit.entity.Player> visibility) Creates an instance of aOwnedItemUserecord class. -
Uses of RecipeItemRef in ke.ric.api.registration
Methods in ke.ric.api.registration with parameters of type RecipeItemRefModifier and TypeMethodDescriptionRecipeRegistration.AddonRecipeBuilder.addAction(String type, RecipeItemRef itemRef, int amount) RecipeRegistration.AddonRecipeBuilder.addByproduct(RecipeItemRef itemRef, int amount) RecipeRegistration.AddonRecipeBuilder.addConsumeReturn(RecipeItemRef itemRef, int amount) RecipeRegistration.AddonRecipeBuilder.addReturnItem(RecipeItemRef itemRef, int amount) RecipeRegistration.AddonRecipeBuilder.addWeightedOutput(RecipeItemRef outputRef, double weight) RecipeRegistration.AddonRecipeBuilder.addWeightedOutput(RecipeItemRef outputRef, int amount, double weight) RecipeRegistration.AddonRecipeBuilder.output(RecipeItemRef outputRef) RecipeRegistration.AddonRecipeBuilder.output(RecipeItemRef outputRef, int amount) -
Uses of RecipeItemRef in ke.ric.cooking.data
Methods in ke.ric.cooking.data that return RecipeItemRefModifier and TypeMethodDescriptionstatic RecipeItemRefstatic RecipeItemRefRecipeItemRef.customItem(String customItemId) static RecipeItemRefRecipeItemRef.fromLegacyAuto(String id) Legacy return/byproduct strings retain custom-first, vanilla-fallback provenance.static RecipeItemRefRecipeItemRef.fromLegacyOutput(String id) Legacy output strings retain custom-first, vanilla-fallback provenance.IngredientOption.getItemRef()RecipeAction.getItemRef()RuleMatcher.getItemRef()Recipe.getOutputRef()WeightedOutput.getOutputRef()RecipeAction.getReturnItemRef()static RecipeItemRefRecipeByproduct.itemRef()RecipePreviewContext.Selection.itemRef()Returns the value of theitemRefrecord component.static RecipeItemRefRecipeItemRef.legacyAuto(String id) static RecipeItemRefstatic RecipeItemRefRecipeItemRef.providerItem(String serialized) static RecipeItemRefRecipeItemRef.providerItem(ProviderItemRef providerItem) static RecipeItemRefMethods in ke.ric.cooking.data with parameters of type RecipeItemRefModifier and TypeMethodDescriptionvoidIngredientOption.setItemRef(RecipeItemRef itemRef) voidRecipeAction.setItemRef(RecipeItemRef itemRef) voidRuleMatcher.setItemRef(RecipeItemRef itemRef) voidRecipe.setOutputRef(RecipeItemRef outputRef) voidWeightedOutput.setOutputRef(RecipeItemRef outputRef) voidRecipeAction.setReturnItemRef(RecipeItemRef itemRef) Constructors in ke.ric.cooking.data with parameters of type RecipeItemRefModifierConstructorDescriptionRecipeByproduct(RecipeItemRef itemRef, int amount) RecipeByproduct(RecipeItemRef itemRef, int amount, boolean inheritMetadata) Selection(int recipeSlot, int optionIndex, RecipeItemRef itemRef, String qualifier, String customTag, int quantity) Creates an instance of aSelectionrecord class.WeightedOutput(RecipeItemRef outputRef, int amount, double weight)