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 TypeMethodDescriptionstatic Recipe
Bukkit.getCraftingRecipe
(ItemStack[] craftingMatrix, World world) Get theRecipe
for the list of ItemStacks provided.Server.getCraftingRecipe
(ItemStack[] craftingMatrix, World world) Get theRecipe
for the list of ItemStacks provided.static Recipe
Bukkit.getRecipe
(NamespacedKey recipeKey) Get theRecipe
for the given key.Server.getRecipe
(NamespacedKey recipeKey) Get theRecipe
for the given key.Modifier and TypeMethodDescriptionBukkit.getRecipesFor
(ItemStack result) Get a list of all recipes for a given item.Server.getRecipesFor
(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. -
Uses of Recipe in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionCraftItemEvent.getRecipe()
PrepareItemCraftEvent.getRecipe()
Get the recipe that has been formed.ModifierConstructorDescriptionCraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action) CraftItemEvent
(Recipe recipe, InventoryView what, InventoryType.SlotType type, int slot, ClickType click, InventoryAction action, int key) -
Uses of Recipe in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerRecipeBookClickEvent.getOriginalRecipe()
Gets the original recipe the player was trying to craft.PlayerRecipeBookClickEvent.getRecipe()
Gets the recipe the player is trying to craft.Modifier and TypeMethodDescriptionvoid
Set the recipe that will be used.ModifierConstructorDescriptionPlayerRecipeBookClickEvent
(Player player, Recipe recipe, boolean shiftClick) -
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.