Uses of Interface
org.bukkit.inventory.Recipe
Packages that use Recipe
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes involved in manipulating player inventories and item interactions.
-
Uses of Recipe in org.bukkit
Methods in org.bukkit that return RecipeModifier and TypeMethodDescriptionstatic @Nullable RecipeBukkit.getCraftingRecipe(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world) Get theRecipefor the list of ItemStacks provided.@Nullable RecipeServer.getCraftingRecipe(@NotNull ItemStack @NotNull [] craftingMatrix, @NotNull World world) Get theRecipefor the list of ItemStacks provided.static @Nullable RecipeBukkit.getRecipe(@NotNull NamespacedKey recipeKey) Get theRecipefor the given key.@Nullable RecipeServer.getRecipe(@NotNull NamespacedKey recipeKey) Get theRecipefor the given key.Methods in org.bukkit that return types with arguments of type RecipeModifier and TypeMethodDescriptionBukkit.getRecipesFor(@NotNull ItemStack result) Get a list of all recipes for a given item.Server.getRecipesFor(@NotNull ItemStack result) Get a list of all recipes for a given item.Bukkit.recipeIterator()Get an iterator through the list of crafting recipes.Server.recipeIterator()Get an iterator through the list of crafting recipes.Methods in org.bukkit with parameters of type RecipeModifier and TypeMethodDescriptionstatic booleanAdds a recipe to the crafting manager.static booleanDeprecated.booleanAdds a recipe to the crafting manager.default booleanDeprecated.useServer.addRecipe(Recipe)instead, as Minecraft always resends recipes on a recipe addedMethod parameters in org.bukkit with type arguments of type RecipeModifier and TypeMethodDescriptionstatic booleanBukkit.addRecipes(@NotNull Iterable<Recipe> recipes) Adds multiple recipes to the crafting manager at once, resending recipes only once after all have been added.booleanServer.addRecipes(@NotNull Iterable<Recipe> recipes) Adds multiple recipes to the crafting manager at once, resending recipes only once after all have been added. -
Uses of Recipe in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return RecipeModifier and TypeMethodDescription@NotNull RecipeCraftItemEvent.getRecipe()@Nullable RecipePrepareItemCraftEvent.getRecipe()Get the recipe that has been formed.Constructors in org.bukkit.event.inventory with parameters of type RecipeModifierConstructorDescriptionCraftItemEvent(@NotNull Recipe recipe, @NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) CraftItemEvent(@NotNull Recipe recipe, @NotNull InventoryView view, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) -
Uses of Recipe in org.bukkit.event.player
Methods in org.bukkit.event.player that return RecipeModifier and TypeMethodDescription@NotNull RecipePlayerRecipeBookClickEvent.getOriginalRecipe()Deprecated, for removal: This API element is subject to removal in a future version.Gets the original recipe the player was trying to craft.@NotNull RecipePlayerRecipeBookClickEvent.getRecipe()Deprecated, for removal: This API element is subject to removal in a future version.Gets the recipe the player is trying to craft.Methods in org.bukkit.event.player with parameters of type RecipeModifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Set the recipe that will be used.Constructors in org.bukkit.event.player with parameters of type RecipeModifierConstructorDescriptionPlayerRecipeBookClickEvent(@NotNull Player player, @NotNull Recipe recipe, boolean shiftClick) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Recipe in org.bukkit.inventory
Subinterfaces of Recipe in org.bukkit.inventoryModifier and TypeInterfaceDescriptioninterfaceRepresents a complex recipe which has imperative server-defined behavior, eg armor dyeing.Classes in org.bukkit.inventory that implement RecipeModifier and TypeClassDescriptionclassRepresents a campfire recipe.classRepresents a recipe that is applicable to brewing stands.classRepresents a campfire recipe.classCookingRecipe<T extends CookingRecipe>Represents a cooking recipe.classRepresents a shaped or shapeless crafting recipe.classRepresents a furnace recipe.classRepresents a merchant's trade.classRepresents a shaped (ie normal) crafting recipe.classRepresents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.classRepresents a smithing recipe.classRepresents a smithing transform recipe.classRepresents a smithing trim recipe.classRepresents a campfire recipe.classRepresents a Stonecutting recipe.classRepresents a recipe which will change the type of the input material when combined with an additional material, but preserve all custom data.Methods in org.bukkit.inventory that return Recipe
Bukkit.addRecipe(Recipe)instead, as Minecraft always resends recipes on a recipe added