org.bukkit.event.inventory
Class FurnaceExtractEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockExpEvent
org.bukkit.event.inventory.FurnaceExtractEvent
public class FurnaceExtractEvent
- extends BlockExpEvent
This event is called when a player takes items out of the furnace
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FurnaceExtractEvent
public FurnaceExtractEvent(Player player,
Block block,
Material itemType,
int itemAmount,
int exp)
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.