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.- Since:
- 1.4.5
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class BlockEvent
block -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceExtractEvent(@NotNull Player player, @NotNull Block block, @NotNull ItemStack itemStack, int itemAmount, int exp) -
Method Summary
Methods inherited from class BlockExpEvent
getExpToDrop, getHandlerList, getHandlers, setExpToDropMethods inherited from class BlockEvent
getBlockMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
FurnaceExtractEvent
-
-
Method Details
-
getPlayer
Get the player that triggered the event- Returns:
- the relevant player
- Since:
- 1.4.5
-
getItemType
Get the Material of the item being retrieved- Returns:
- the material of the item
- Since:
- 1.4.5
-
getItemStack
Get the ItemStack of the item triggering the event- Returns:
- the item stack
- Since:
- 1.21.11
-
getItemAmount
public int getItemAmount()Get the item count being retrieved- Returns:
- the amount of the item
- Since:
- 1.4.5
-