Class CampfireStartEvent


public class CampfireStartEvent extends InventoryBlockStartEvent
Called when a Campfire starts to cook.
  • Constructor Details

  • Method Details

    • getRecipe

      @NotNull public CampfireRecipe getRecipe()
      Gets the CampfireRecipe associated with this event.
      Returns:
      the CampfireRecipe 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()