Uses of Interface
org.bukkit.inventory.Recipe
| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| 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 types with arguments of type Recipe Modifier and Type Method Description static java.util.List<Recipe>Bukkit. getRecipesFor(ItemStack result)Get a list of all recipes for a given item.java.util.List<Recipe>Server. getRecipesFor(ItemStack result)Get a list of all recipes for a given item.static java.util.Iterator<Recipe>Bukkit. recipeIterator()Get an iterator through the list of crafting recipes.java.util.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, boolean right, boolean shift)Deprecated.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
Classes in org.bukkit.inventory that implement Recipe Modifier and Type Class Description classFurnaceRecipeRepresents a smelting recipe.classShapedRecipeRepresents a shaped (ie normal) crafting recipe.classShapelessRecipeRepresents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.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.