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
This event is called when a player takes items out of a furnace-like block such as a
Furnace
, Smoker
, or
BlastFurnace
.-
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
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the item count being retrievedGet the Material of the item being retrievedGet the player that triggered the eventMethods 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
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
FurnaceExtractEvent
-
-
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
-