Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.inventory.FurnaceExtractEvent Class Reference
Inheritance diagram for org.bukkit.event.inventory.FurnaceExtractEvent:
org.bukkit.event.block.BlockExpEvent org.bukkit.event.block.BlockEvent org.bukkit.event.Event

Public Member Functions

 FurnaceExtractEvent (Player player, Block block, Material itemType, int itemAmount, int exp)
 
Player getPlayer ()
 
Material getItemType ()
 
int getItemAmount ()
 
- Public Member Functions inherited from org.bukkit.event.block.BlockExpEvent
 BlockExpEvent (Block block, int exp)
 
int getExpToDrop ()
 
void setExpToDrop (int exp)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.block.BlockEvent
 BlockEvent (final Block theBlock)
 
final Block getBlock ()
 
- 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.block.BlockExpEvent
static HandlerList getHandlerList ()
 
- Protected Attributes inherited from org.bukkit.event.block.BlockEvent
Block block
 

Detailed Description

This event is called when a player takes items out of the furnace

Definition at line 11 of file FurnaceExtractEvent.java.

Member Function Documentation

int org.bukkit.event.inventory.FurnaceExtractEvent.getItemAmount ( )

Get the item count being retrieved

Returns
the amount of the item

Definition at line 46 of file FurnaceExtractEvent.java.

46  {
47  return itemAmount;
48  }
Material org.bukkit.event.inventory.FurnaceExtractEvent.getItemType ( )

Get the Material of the item being retrieved

Returns
the material of the item

Definition at line 37 of file FurnaceExtractEvent.java.

37  {
38  return itemType;
39  }
Player org.bukkit.event.inventory.FurnaceExtractEvent.getPlayer ( )

Get the player that triggered the event

Returns
the relevant player

Definition at line 28 of file FurnaceExtractEvent.java.

28  {
29  return player;
30  }

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