Class FurnaceExtractEvent


public class FurnaceExtractEvent extends BlockExpEvent
This event is called when a player takes items out of the furnace
  • Constructor Details

    • FurnaceExtractEvent

      public FurnaceExtractEvent(@NotNull Player player, @NotNull Block block, @NotNull Material itemType, int itemAmount, int exp)
  • Method Details

    • getPlayer

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

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