Uses of Interface
org.bukkit.inventory.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
Modifier and TypeMethodDescriptionBukkit.getCraftingRecipe
(@NotNull ItemStack[] craftingMatrix, @NotNull World world) Get theRecipe
for the list of ItemStacks provided.Server.getCraftingRecipe
(@NotNull ItemStack[] craftingMatrix, @NotNull World world) Get theRecipe
for the list of ItemStacks provided.Bukkit.getRecipe
(@NotNull NamespacedKey recipeKey) Get theRecipe
for the given key.Server.getRecipe
(@NotNull NamespacedKey recipeKey) Get theRecipe
for the given key.Modifier 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.Modifier and TypeMethodDescriptionstatic boolean
Adds a recipe to the crafting manager.static boolean
Adds a recipe to the crafting manager.boolean
Adds a recipe to the crafting manager.boolean
Adds a recipe to the crafting manager. -
Uses of Recipe in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionCraftItemEvent.getRecipe()
PrepareItemCraftEvent.getRecipe()
Get the recipe that has been formed.ModifierConstructorDescriptionCraftItemEvent
(@NotNull Recipe recipe, @NotNull InventoryView what, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action) CraftItemEvent
(@NotNull Recipe recipe, @NotNull InventoryView what, @NotNull InventoryType.SlotType type, int slot, @NotNull ClickType click, @NotNull InventoryAction action, int key) -
Uses of Recipe in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerRecipeBookClickEvent.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.PlayerRecipeBookClickEvent.getRecipe()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the recipe the player is trying to craft.Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Set the recipe that will be used.ModifierConstructorDescriptionPlayerRecipeBookClickEvent
(@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
Modifier and TypeInterfaceDescriptioninterface
Represents a complex recipe which has imperative server-defined behavior, eg armor dyeing.Modifier and TypeClassDescriptionclass
Represents a campfire recipe.class
Represents a campfire recipe.class
CookingRecipe<T extends CookingRecipe>
Represents a cooking recipe.class
Represents a shaped or shapeless crafting recipe.class
Represents a furnace recipe.class
Represents a merchant's trade.class
Represents a shaped (ie normal) crafting recipe.class
Represents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.class
Represents a smithing recipe.class
Represents a smithing transform recipe.class
Represents a smithing trim recipe.class
Represents a campfire recipe.class
Represents a Stonecutting recipe.class
Represents a recipe which will change the type of the input material when combined with an additional material, but preserve all custom data.