| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
Server.addRecipe(@Nullable Recipe recipe)
Adds a recipe to the crafting manager. 
 | 
static boolean | 
Bukkit.addRecipe(@Nullable Recipe recipe)
Adds a recipe to the crafting manager. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Recipe | 
PrepareItemCraftEvent.getRecipe()
Get the recipe that has been formed. 
 | 
@NotNull Recipe | 
CraftItemEvent.getRecipe()  | 
| Constructor and Description | 
|---|
CraftItemEvent(@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)  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
ComplexRecipe
Represents a complex recipe which has imperative server-defined behavior, eg
 armor dyeing. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BlastingRecipe
Represents a campfire recipe. 
 | 
class  | 
CampfireRecipe
Represents a campfire recipe. 
 | 
class  | 
CookingRecipe<T extends CookingRecipe>
Represents a cooking recipe. 
 | 
class  | 
FurnaceRecipe
Represents a furnace recipe. 
 | 
class  | 
MerchantRecipe
Represents a merchant's trade. 
 | 
class  | 
ShapedRecipe
Represents a shaped (ie normal) crafting recipe. 
 | 
class  | 
ShapelessRecipe
Represents a shapeless recipe, where the arrangement of the ingredients on
 the crafting grid does not matter. 
 | 
class  | 
SmokingRecipe
Represents a campfire recipe. 
 | 
class  | 
StonecuttingRecipe
Represents a Stonecutting recipe. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Recipe | 
CraftingInventory.getRecipe()
Get the current recipe formed on the crafting inventory, if any. 
 | 
Copyright © 2021. All rights reserved.