![]() |
Bukkit
1.4.7-R1.0
|
Inheritance diagram for org.bukkit.event.inventory.PrepareItemCraftEvent:
Collaboration diagram for org.bukkit.event.inventory.PrepareItemCraftEvent:Public Member Functions | |
| PrepareItemCraftEvent (CraftingInventory what, InventoryView view, boolean isRepair) | |
| Recipe | getRecipe () |
| Get the recipe that has been formed. | |
| CraftingInventory | getInventory () |
| boolean | isRepair () |
| Check if this event was triggered by a tool repair operation rather than a crafting recipe. | |
| HandlerList | getHandlers () |
Public Member Functions inherited from org.bukkit.event.inventory.InventoryEvent | |
| InventoryEvent (InventoryView transaction) | |
| Inventory | getInventory () |
| Gets the primary Inventory involved in this transaction. | |
| List< HumanEntity > | getViewers () |
| Gets the list of players viewing the primary (upper) inventory involved in this event. | |
| InventoryView | getView () |
| Gets the view object itself. | |
Public Member Functions inherited from org.bukkit.event.Event | |
| Event () | |
| The default constructor is defined for cleaner code. | |
| Event (boolean isAsync) | |
| This constructor is used to explicitly declare an event as synchronous or asynchronous. | |
| String | getEventName () |
| final boolean | isAsynchronous () |
| Any custom event that should not by synchronized with other events must use the specific constructor. | |
Static Public Member Functions | |
| static HandlerList | getHandlerList () |
Static Public Member Functions inherited from org.bukkit.event.inventory.InventoryEvent | |
| static HandlerList | getHandlerList () |
Additional Inherited Members | |
Protected Attributes inherited from org.bukkit.event.inventory.InventoryEvent | |
| InventoryView | transaction |
Definition at line 8 of file PrepareItemCraftEvent.java.
| org.bukkit.event.inventory.PrepareItemCraftEvent.PrepareItemCraftEvent | ( | CraftingInventory | what, |
| InventoryView | view, | ||
| boolean | isRepair | ||
| ) |
Definition at line 13 of file PrepareItemCraftEvent.java.
References org.bukkit.event.inventory.PrepareItemCraftEvent.isRepair().
|
static |
Definition at line 49 of file PrepareItemCraftEvent.java.
|
virtual |
Reimplemented from org.bukkit.event.inventory.InventoryEvent.
Definition at line 45 of file PrepareItemCraftEvent.java.
| CraftingInventory org.bukkit.event.inventory.PrepareItemCraftEvent.getInventory | ( | ) |
Definition at line 32 of file PrepareItemCraftEvent.java.
| Recipe org.bukkit.event.inventory.PrepareItemCraftEvent.getRecipe | ( | ) |
Get the recipe that has been formed.
If this event was triggered by a tool repair, this will be a temporary shapeless recipe representing the repair.
Definition at line 24 of file PrepareItemCraftEvent.java.
References org.bukkit.inventory.CraftingInventory.getRecipe().
| boolean org.bukkit.event.inventory.PrepareItemCraftEvent.isRepair | ( | ) |
Check if this event was triggered by a tool repair operation rather than a crafting recipe.
Definition at line 40 of file PrepareItemCraftEvent.java.
Referenced by org.bukkit.event.inventory.PrepareItemCraftEvent.PrepareItemCraftEvent().