Uses of Interface
org.bukkit.inventory.RecipeChoice
Packages that use RecipeChoice
Package
Description
Classes involved in manipulating player inventories and item interactions.
-
Uses of RecipeChoice in io.papermc.paper.potion
Methods in io.papermc.paper.potion that return RecipeChoiceModifier and TypeMethodDescriptionstatic RecipeChoice
PotionMix.createPredicateChoice
(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.Constructors in io.papermc.paper.potion with parameters of type RecipeChoiceModifierConstructorDescriptionPotionMix
(NamespacedKey key, ItemStack result, RecipeChoice input, RecipeChoice ingredient) Creates a new potion mix. -
Uses of RecipeChoice in org.bukkit.inventory
Classes in org.bukkit.inventory that implement RecipeChoiceModifier 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.Methods in org.bukkit.inventory that return RecipeChoiceModifier and TypeMethodDescription@NotNull RecipeChoice
RecipeChoice.clone()
static @NotNull RecipeChoice
RecipeChoice.empty()
An "empty" recipe choice.@NotNull RecipeChoice
SmithingRecipe.getAddition()
Get the addition recipe item.@NotNull RecipeChoice
SmithingRecipe.getBase()
Get the base recipe item.@NotNull RecipeChoice
TransmuteRecipe.getInput()
Gets the input material, which will be transmuted.@NotNull RecipeChoice
CookingRecipe.getInputChoice()
Get the input choice.@NotNull RecipeChoice
StonecuttingRecipe.getInputChoice()
Get the input choice.@NotNull RecipeChoice
TransmuteRecipe.getMaterial()
Gets the additional material required to cause the transmutation.@NotNull RecipeChoice
SmithingTransformRecipe.getTemplate()
Get the template recipe item.@NotNull RecipeChoice
SmithingTrimRecipe.getTemplate()
Get the template recipe item.@NotNull RecipeChoice
RecipeChoice.ExactChoice.validate
(boolean allowEmptyRecipes) @NotNull RecipeChoice
RecipeChoice.MaterialChoice.validate
(boolean allowEmptyRecipes) default @NotNull RecipeChoice
RecipeChoice.validate
(boolean allowEmptyRecipes) Methods in org.bukkit.inventory that return types with arguments of type RecipeChoiceModifier and TypeMethodDescription@NotNull List
<RecipeChoice> ShapelessRecipe.getChoiceList()
@NotNull Map
<Character, RecipeChoice> ShapedRecipe.getChoiceMap()
Get a copy of the choice map.Methods in org.bukkit.inventory with parameters of type RecipeChoiceModifier and TypeMethodDescription@NotNull ShapelessRecipe
ShapelessRecipe.addIngredient
(@NotNull RecipeChoice ingredient) @NotNull ShapelessRecipe
ShapelessRecipe.removeIngredient
(@NotNull RecipeChoice ingredient) Removes an ingredient from the list.@NotNull ShapedRecipe
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.@NotNull FurnaceRecipe
FurnaceRecipe.setInputChoice
(@NotNull RecipeChoice input) @NotNull StonecuttingRecipe
StonecuttingRecipe.setInputChoice
(@NotNull RecipeChoice input) Sets the input of this Stonecutting recipe.Constructors in org.bukkit.inventory with parameters of type RecipeChoiceModifierConstructorDescriptionBlastingRecipe
(@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, @Nullable RecipeChoice base, @Nullable RecipeChoice addition) Deprecated.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @Nullable RecipeChoice base, @Nullable 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) Deprecated, for removal: This API element is subject to removal in a future version.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyDataComponents) Deprecated, for removal: This API element is subject to removal in a future version.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, @NotNull TrimPattern pattern) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, @NotNull TrimPattern pattern, 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.TransmuteRecipe
(@NotNull NamespacedKey key, @NotNull Material result, @NotNull RecipeChoice input, @NotNull RecipeChoice material) Create a transmute recipe to produce a result of the specified type.
SmithingTransformRecipe
andSmithingTrimRecipe
.