Class FurnaceStartSmeltEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.inventory.FurnaceStartSmeltEvent

public class FurnaceStartSmeltEvent extends BlockEvent
  • Constructor Details

  • Method Details

    • getSource

      @NotNull public ItemStack getSource()
      Gets the source ItemStack for this event
      Returns:
      the source ItemStack
    • getRecipe

      @NotNull public CookingRecipe<?> getRecipe()
      Gets the FurnaceRecipe associated with this event
      Returns:
      the FurnaceRecipe being cooked
    • getTotalCookTime

      public int getTotalCookTime()
      Gets the total cook time associated with this event
      Returns:
      the total cook time
    • setTotalCookTime

      public void setTotalCookTime(int cookTime)
      Sets the total cook time for this event
      Parameters:
      cookTime - the new total cook time
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()