Package vazkii.botania.api.block
Interface ExoflameHeatable
- All Known Implementing Classes:
ExoflameFurnaceHandler.FurnaceExoflameHeatable
public interface ExoflameHeatable
A Block Entity that has this component can be heated by an Exoflame flower.
NOTE: Do not attach this component to subclasses of AbstractFurnaceBlockEntity, as Botania already does so.
-
Field Summary
Fields -
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.
-
Field Details
-
ID
static final net.minecraft.resources.ResourceLocation ID
-
-
Method Details
-
canSmelt
boolean canSmelt()Can this BlockEntity smelt its contents. If true, the Exoflame is allowed to fuel it. -
getBurnTime
int getBurnTime()Gets the amount of ticks left for the fuel. If below 2, the exoflame will call boostBurnTime. -
boostBurnTime
void boostBurnTime()Called to increase the amount of time this furnace should be burning the fuel for. Even if it doesn't have any fuel. -
boostCookTime
void boostCookTime()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.
-