Class FurnaceStartSmeltEvent


public class FurnaceStartSmeltEvent extends InventoryBlockStartEvent
Called when a Furnace starts smelting.
  • Constructor Details

  • Method Details

    • 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()
      Overrides:
      getHandlers in class InventoryBlockStartEvent
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()