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) Deprecated.PotionMix.getIngredient()Deprecated, for removal: This API element is subject to removal in a future version.Gets the ingredient in the top slot of the brewing stand.PotionMix.getInput()Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new potion mix. -
Uses of RecipeChoice in org.bukkit.inventory
Subinterfaces of RecipeChoice in org.bukkit.inventoryModifier and TypeInterfaceDescriptionstatic interfaceRepresents a choice that will be valid if theItemStack.getType()matches any of the item types in the set.static interfaceRepresents a choice that will be valid only if an item matches the given predicate.Classes in org.bukkit.inventory that implement RecipeChoiceModifier and TypeClassDescriptionstatic final 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 TypeMethodDescriptionRecipeChoice.clone()static RecipeChoiceRecipeChoice.empty()An "empty" recipe choice.@NotNull RecipeChoiceSmithingRecipe.getAddition()Get the addition recipe item.@NotNull RecipeChoiceSmithingRecipe.getBase()Get the base recipe item.BrewingRecipe.getIngredient()Gets the ingredient in the top slot of the brewing stand.BrewingRecipe.getInput()Gets the input for the bottom 3 slots in the brewing stand.@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.RecipeChoice.ExactChoice.validate(boolean allowEmptyRecipes) RecipeChoice.MaterialChoice.validate(boolean allowEmptyRecipes) default 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) BrewingRecipe(NamespacedKey key, ItemStack result, RecipeChoice input, RecipeChoice ingredient) Creates a new brewing recipe.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.as of Minecraft 1.20, smithing recipes are now separated into two distinct recipe types,SmithingTransformRecipeandSmithingTrimRecipe.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.
RecipeChoice.predicateChoice(Predicate, ItemStack)