Class ExoflameFurnaceHandler.FurnaceExoflameHeatable

java.lang.Object
vazkii.botania.common.handler.ExoflameFurnaceHandler.FurnaceExoflameHeatable
All Implemented Interfaces:
ExoflameHeatable
Enclosing class:
ExoflameFurnaceHandler

public static class ExoflameFurnaceHandler.FurnaceExoflameHeatable extends Object implements ExoflameHeatable
  • Constructor Details

    • FurnaceExoflameHeatable

      public FurnaceExoflameHeatable(net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity furnace)
  • Method Details

    • canSmelt

      public boolean canSmelt()
      Description copied from interface: ExoflameHeatable
      Can this BlockEntity smelt its contents. If true, the Exoflame is allowed to fuel it.
      Specified by:
      canSmelt in interface ExoflameHeatable
    • getBurnTime

      public int getBurnTime()
      Description copied from interface: ExoflameHeatable
      Gets the amount of ticks left for the fuel. If below 2, the exoflame will call boostBurnTime.
      Specified by:
      getBurnTime in interface ExoflameHeatable
    • boostBurnTime

      public void boostBurnTime()
      Description copied from interface: ExoflameHeatable
      Called to increase the amount of time this furnace should be burning the fuel for. Even if it doesn't have any fuel.
      Specified by:
      boostBurnTime in interface ExoflameHeatable
    • boostCookTime

      public void boostCookTime()
      Description copied from interface: ExoflameHeatable
      Called once every two ticks to increase the speed of the furnace. Feel free to not do anything if all you want is to allow the exoflame to feed it, not make it faster.
      Specified by:
      boostCookTime in interface ExoflameHeatable