FurnaceFuelBurnTimeEvent
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.neoforge.api.event.FurnaceFuelBurnTimeEvent;
Extends
FurnaceFuelBurnTimeEvent extends Event
.
Implements
FurnaceFuelBurnTimeEvent
implements the following interfaces:
Listening to the event
This event can be listened to like so:
events.register<crafttweaker.neoforge.api.event.FurnaceFuelBurnTimeEvent>(event => { println("FurnaceFuelBurnTimeEvent ran!");});
Members
Getter
// FurnaceFuelBurnTimeEvent.burnTime as intevent.burnTime
Return Type:
int
Setter
// FurnaceFuelBurnTimeEvent.burnTime = (burnTime as int);event.burnTime = myInt;
Parameters:
burnTime: int
Type: int
cancel()
Cancels the event. Same as script.zs
setCanceled(true)
// FurnaceFuelBurnTimeEvent.cancel();event.cancel();
Getter
// FurnaceFuelBurnTimeEvent.canceled as boolevent.canceled
Return Type:
bool
Setter
// FurnaceFuelBurnTimeEvent.canceled = (cancel as bool);event.canceled = myBool;
Parameters:
cancel: bool
Type: bool
canceled() as bool
// FurnaceFuelBurnTimeEvent.canceled() as bool;event.canceled();
Return Type:
bool
canceled(cancel as bool)
// FurnaceFuelBurnTimeEvent.canceled(cancel as bool);event.canceled(myBool);
Parameters:
cancel: bool
Type: bool
Getter
// FurnaceFuelBurnTimeEvent.itemStack as IItemStackevent.itemStack
Return Type:
IItemStack
Getter
event.recipeType
Return Type:
IRecipeManager<Recipe<RecipeInput>>