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 RecipeChoicePotionMix.createPredicateChoice(Predicate<? super ItemStack> stackPredicate) Create aRecipeChoicebased 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 classRepresents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).static classRepresents a choice of multiple matching Materials.Methods in org.bukkit.inventory that return RecipeChoiceModifier and TypeMethodDescription@NotNull RecipeChoiceRecipeChoice.clone()static @NotNull RecipeChoiceRecipeChoice.empty()An "empty" recipe choice.@NotNull RecipeChoiceSmithingRecipe.getAddition()Get the addition recipe item.@NotNull RecipeChoiceSmithingRecipe.getBase()Get the base recipe item.@NotNull RecipeChoiceTransmuteRecipe.getInput()Gets the input material, which will be transmuted.@NotNull RecipeChoiceCookingRecipe.getInputChoice()Get the input choice.@NotNull RecipeChoiceStonecuttingRecipe.getInputChoice()Get the input choice.@NotNull RecipeChoiceTransmuteRecipe.getMaterial()Gets the additional material required to cause the transmutation.@NotNull RecipeChoiceSmithingTransformRecipe.getTemplate()Get the template recipe item.@NotNull RecipeChoiceSmithingTrimRecipe.getTemplate()Get the template recipe item.@NotNull RecipeChoiceRecipeChoice.ExactChoice.validate(boolean allowEmptyRecipes) @NotNull RecipeChoiceRecipeChoice.MaterialChoice.validate(boolean allowEmptyRecipes) default @NotNull RecipeChoiceRecipeChoice.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 ShapelessRecipeShapelessRecipe.addIngredient(@NotNull RecipeChoice ingredient) @NotNull ShapelessRecipeShapelessRecipe.removeIngredient(@NotNull RecipeChoice ingredient) Removes an ingredient from the list.@NotNull ShapedRecipeShapedRecipe.setIngredient(char key, @NotNull RecipeChoice ingredient) Sets theRecipeChoicethat a character in the recipe shape refers to.CookingRecipe.setInputChoice(@NotNull RecipeChoice input) Sets the input of this cooking recipe.@NotNull FurnaceRecipeFurnaceRecipe.setInputChoice(@NotNull RecipeChoice input) @NotNull StonecuttingRecipeStonecuttingRecipe.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.
SmithingTransformRecipeandSmithingTrimRecipe.