FreezerFuelManager

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import mods.aether.FreezerFuelManager;

Methods

Adds this item as fuel for the Freezer with the given burn time.

script.zs
// FreezerFuelManager.addFuel(ingredient as IIngredient, burnTime as int)
mods.aether.FreezerFuelManager.addFuel(<item:minecraft:coal>, 250);
mods.aether.FreezerFuelManager.addFuel(<tag:items:minecraft:planks>, 250);
ParameterTypeDescriptionOptional
Parameter
item
Type
IIngredient
Description
fuel IIngredient
Optional
false
Parameter
burnTime
Type
int
Description
the fuel’s burn time
Optional
false

Removes this fuel item from the Freezer.

script.zs
// FreezerFuelManager.removeFuel(ingredient as IIngredient)
mods.aether.FreezerFuelManager.removeFuel(<item:minecraft:coal>);
mods.aether.FreezerFuelManager.removeFuel(<tag:items:minecraft:planks>);
ParameterTypeDescriptionOptional
Parameter
item
Type
IIngredient
Description
fuel IIngredient
Optional
false