Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.inventory.CraftItemEvent Class Reference
Inheritance diagram for org.bukkit.event.inventory.CraftItemEvent:
org.bukkit.event.inventory.InventoryClickEvent org.bukkit.event.inventory.InventoryInteractEvent org.bukkit.event.inventory.InventoryEvent org.bukkit.event.Cancellable org.bukkit.event.Event

Public Member Functions

 CraftItemEvent (Recipe recipe, InventoryView what, SlotType type, int slot, boolean right, boolean shift)
 
 CraftItemEvent (Recipe recipe, InventoryView what, SlotType type, int slot, ClickType click, InventoryAction action)
 
 CraftItemEvent (Recipe recipe, InventoryView what, SlotType type, int slot, ClickType click, InventoryAction action, int key)
 
Recipe getRecipe ()
 
CraftingInventory getInventory ()
 
- Public Member Functions inherited from org.bukkit.event.inventory.InventoryClickEvent
 InventoryClickEvent (InventoryView view, SlotType type, int slot, boolean right, boolean shift)
 
 InventoryClickEvent (InventoryView view, SlotType type, int slot, ClickType click, InventoryAction action)
 
 InventoryClickEvent (InventoryView view, SlotType type, int slot, ClickType click, InventoryAction action, int key)
 
SlotType getSlotType ()
 
ItemStack getCursor ()
 
ItemStack getCurrentItem ()
 
boolean isRightClick ()
 
boolean isLeftClick ()
 
boolean isShiftClick ()
 
void setCursor (ItemStack stack)
 
void setCurrentItem (ItemStack stack)
 
int getSlot ()
 
int getRawSlot ()
 
int getHotbarButton ()
 
InventoryAction getAction ()
 
ClickType getClick ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.inventory.InventoryInteractEvent
 InventoryInteractEvent (InventoryView transaction)
 
HumanEntity getWhoClicked ()
 
void setResult (Result newResult)
 
Result getResult ()
 
boolean isCancelled ()
 
void setCancelled (boolean toCancel)
 
- Public Member Functions inherited from org.bukkit.event.inventory.InventoryEvent
 InventoryEvent (InventoryView transaction)
 
Inventory getInventory ()
 
List< HumanEntitygetViewers ()
 
InventoryView getView ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.bukkit.event.inventory.InventoryClickEvent
static HandlerList getHandlerList ()
 
- Static Public Member Functions inherited from org.bukkit.event.inventory.InventoryEvent
static HandlerList getHandlerList ()
 
- Protected Attributes inherited from org.bukkit.event.inventory.InventoryEvent
InventoryView transaction
 

Detailed Description

Called when the recipe of an Item is completed inside a crafting matrix.

Definition at line 11 of file CraftItemEvent.java.

Member Function Documentation

Recipe org.bukkit.event.inventory.CraftItemEvent.getRecipe ( )
Returns
A copy of the current recipe on the crafting matrix.

Definition at line 32 of file CraftItemEvent.java.

32  {
33  return recipe;
34  }

The documentation for this class was generated from the following file: