Package 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
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FurnaceExtractEvent(Player player, Block block, Material itemType, int itemAmount, int exp)
-
Method Summary
Modifier and Type Method Description int
getItemAmount()
Get the item count being retrievedMaterial
getItemType()
Get the Material of the item being retrievedPlayer
getPlayer()
Get the player that triggered the eventMethods inherited from class org.bukkit.event.block.BlockExpEvent
getExpToDrop, getHandlerList, getHandlers, setExpToDrop
-
Constructor Details
-
Method Details
-
getPlayer
Get the player that triggered the event- Returns:
- the relevant player
-
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
-