类 FurnaceStartSmeltEvent


public class FurnaceStartSmeltEvent extends InventoryBlockStartEvent
当熔炉开始熔炼时调用。
  • 构造器详细资料

  • 方法详细资料

    • getRecipe

      @NotNull public @NotNull CookingRecipe<?> getRecipe()
      获取与此事件关联的熔炉配方。
      返回:
      正在烹饪的熔炉配方

      原文:Gets the FurnaceRecipe associated with this event

    • getTotalCookTime

      public int getTotalCookTime()
      获取与此事件关联的总烹饪时间。
      返回:
      总烹饪时间

      原文:Gets the total cook time associated with this event

    • setTotalCookTime

      public void setTotalCookTime(int cookTime)
      设置此事件的总烹饪时间。
      参数:
      cookTime - 新的总烹饪时间

      原文:Sets the total cook time for this event

    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      覆盖:
      getHandlers 在类中 InventoryBlockStartEvent
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()