Uses of Interface
org.bukkit.inventory.Recipe
| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.event.inventory | |
| org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
-
Uses of Recipe in org.bukkit
Methods in org.bukkit that return Recipe Modifier and Type Method Description static RecipeBukkit. getRecipe(NamespacedKey recipeKey)Get theRecipefor the given key.RecipeServer. getRecipe(NamespacedKey recipeKey)Get theRecipefor the given key.Methods in org.bukkit that return types with arguments of type Recipe Modifier and Type Method Description static List<Recipe>Bukkit. getRecipesFor(ItemStack result)Get a list of all recipes for a given item.List<Recipe>Server. getRecipesFor(ItemStack result)Get a list of all recipes for a given item.static Iterator<Recipe>Bukkit. recipeIterator()Get an iterator through the list of crafting recipes.Iterator<Recipe>Server. recipeIterator()Get an iterator through the list of crafting recipes. -
Uses of Recipe in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return Recipe Modifier and Type Method Description RecipeCraftItemEvent. getRecipe()RecipePrepareItemCraftEvent. getRecipe()Get the recipe that has been formed.Constructors in org.bukkit.event.inventory with parameters of type Recipe Constructor Description CraftItemEvent(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.inventory
Subinterfaces of Recipe in org.bukkit.inventory Modifier and Type Interface Description interfaceComplexRecipeRepresents a complex recipe which has imperative server-defined behavior, eg armor dyeing.Classes in org.bukkit.inventory that implement Recipe Modifier and Type Class Description classBlastingRecipeRepresents a campfire recipe.classCampfireRecipeRepresents a campfire recipe.classCookingRecipe<T extends CookingRecipe>Represents a cooking recipe.classFurnaceRecipeRepresents a furnace recipe.classMerchantRecipeRepresents a merchant's trade.classShapedRecipeRepresents a shaped (ie normal) crafting recipe.classShapelessRecipeRepresents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.classSmithingRecipeRepresents a smithing recipe.classSmokingRecipeRepresents a campfire recipe.classStonecuttingRecipeRepresents a Stonecutting recipe.Methods in org.bukkit.inventory that return Recipe Modifier and Type Method Description RecipeCraftingInventory. getRecipe()Get the current recipe formed on the crafting inventory, if any.