org.bukkit.event.inventory
Class FurnaceExtractEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.block.BlockEvent
          extended by org.bukkit.event.block.BlockExpEvent
              extended by org.bukkit.event.inventory.FurnaceExtractEvent

public class FurnaceExtractEvent
extends BlockExpEvent

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.block.BlockEvent
block
 
Constructor Summary
FurnaceExtractEvent(Player player, Block block, Material itemType, int itemAmount, int exp)
           
 
Method Summary
 int getItemAmount()
          Get the item count being retrieved
 Material getItemType()
          Get the Material of the item being retrieved
 Player getPlayer()
          Get the player that triggered the event
 
Methods inherited from class org.bukkit.event.block.BlockExpEvent
getExpToDrop, getHandlerList, getHandlers, setExpToDrop
 
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FurnaceExtractEvent

public FurnaceExtractEvent(Player player,
                           Block block,
                           Material itemType,
                           int itemAmount,
                           int exp)
Method Detail

getPlayer

public Player getPlayer()
Get the player that triggered the event

Returns:
the relevant player

getItemType

public Material getItemType()
Get the Material of the item being retrieved

Returns:
the material of the item

getItemAmount

public int getItemAmount()
Get the item count being retrieved

Returns:
the amount of the item


Copyright © 2013. All Rights Reserved.