Uses of Interface
org.bukkit.inventory.RecipeChoice
Package
Description
Classes involved in manipulating player inventories and item interactions.
-
Uses of RecipeChoice in com.destroystokyo.paper.inventory
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Draft APIModifier and TypeMethodDescriptionItemStackRecipeChoice.clone()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of RecipeChoice in io.papermc.paper.potion
Modifier and TypeMethodDescriptionstatic @NotNull RecipeChoice
PotionMix.createPredicateChoice
(@NotNull Predicate<? super ItemStack> stackPredicate) Create aRecipeChoice
based on a Predicate.PotionMix.getIngredient()
Gets the ingredient in the top slot of the brewing stand.PotionMix.getInput()
Gets the input for the bottom 3 slots in the brewing stand.ModifierConstructorDescriptionPotionMix
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, @NotNull RecipeChoice ingredient) Creates a new potion mix. -
Uses of RecipeChoice in org.bukkit.inventory
Modifier and TypeClassDescriptionstatic class
Represents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).static class
Represents a choice of multiple matching Materials.Modifier and TypeMethodDescriptionRecipeChoice.clone()
static @NotNull RecipeChoice
RecipeChoice.empty()
An "empty" recipe choice.SmithingRecipe.getAddition()
Get the addition recipe item.SmithingRecipe.getBase()
Get the base recipe item.CookingRecipe.getInputChoice()
Get the input choice.StonecuttingRecipe.getInputChoice()
Get the input choice.SmithingTransformRecipe.getTemplate()
Get the template recipe item.SmithingTrimRecipe.getTemplate()
Get the template recipe item.RecipeChoice.ExactChoice.validate
(boolean allowEmptyRecipes) RecipeChoice.MaterialChoice.validate
(boolean allowEmptyRecipes) default @NotNull RecipeChoice
RecipeChoice.validate
(boolean allowEmptyRecipes) Modifier and TypeMethodDescriptionShapelessRecipe.getChoiceList()
ShapedRecipe.getChoiceMap()
Get a copy of the choice map.Modifier and TypeMethodDescriptionShapelessRecipe.addIngredient
(@NotNull RecipeChoice ingredient) ShapelessRecipe.removeIngredient
(@NotNull RecipeChoice ingredient) Removes an ingredient from the list.ShapedRecipe.setIngredient
(char key, @NotNull RecipeChoice ingredient) Sets theRecipeChoice
that a character in the recipe shape refers to.CookingRecipe.setInputChoice
(@NotNull RecipeChoice input) Sets the input of this cooking recipe.FurnaceRecipe.setInputChoice
(@NotNull RecipeChoice input) StonecuttingRecipe.setInputChoice
(@NotNull RecipeChoice input) Sets the input of this Stonecutting recipe.ModifierConstructorDescriptionBlastingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CampfireRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CookingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a cooking recipe to craft the specified ItemStack.FurnaceRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Deprecated.as of Minecraft 1.20, smithing recipes are now separated into two distinct recipe types,SmithingTransformRecipe
andSmithingTrimRecipe
.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Deprecated.SmithingTransformRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmithingTransformRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Create a smithing recipe to produce the specified result ItemStack.SmokingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) StonecuttingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input) Create a Stonecutting recipe to craft the specified ItemStack.