Class CampfireStartEvent


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

  • Method Details

    • getRecipe

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