Package vazkii.botania.common.handler
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
-
Field Summary
Fields inherited from interface vazkii.botania.api.block.ExoflameHeatable
ID -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceExoflameHeatable(net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity furnace) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled to increase the amount of time this furnace should be burning the fuel for.voidCalled once every two ticks to increase the speed of the furnace.booleancanSmelt()Can this BlockEntity smelt its contents.intGets the amount of ticks left for the fuel.
-
Constructor Details
-
FurnaceExoflameHeatable
public FurnaceExoflameHeatable(net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity furnace)
-
-
Method Details
-
canSmelt
public boolean canSmelt()Description copied from interface:ExoflameHeatableCan this BlockEntity smelt its contents. If true, the Exoflame is allowed to fuel it.- Specified by:
canSmeltin interfaceExoflameHeatable
-
getBurnTime
public int getBurnTime()Description copied from interface:ExoflameHeatableGets the amount of ticks left for the fuel. If below 2, the exoflame will call boostBurnTime.- Specified by:
getBurnTimein interfaceExoflameHeatable
-
boostBurnTime
public void boostBurnTime()Description copied from interface:ExoflameHeatableCalled to increase the amount of time this furnace should be burning the fuel for. Even if it doesn't have any fuel.- Specified by:
boostBurnTimein interfaceExoflameHeatable
-
boostCookTime
public void boostCookTime()Description copied from interface:ExoflameHeatableCalled 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:
boostCookTimein interfaceExoflameHeatable
-