Class FurnaceExtractEvent


public class FurnaceExtractEvent extends BlockExpEvent
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
  • Constructor Details

  • Method Details

    • getPlayer

      @NotNull public @NotNull Player getPlayer()
      Get the player that triggered the event
      Returns:
      the relevant player
      Since:
      1.4.5
    • getItemType

      @NotNull public @NotNull Material getItemType()
      Get the Material of the item being retrieved
      Returns:
      the material of the item
      Since:
      1.4.5
    • getItemStack

      @NotNull public @NotNull ItemStack 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