FreezerFuelManager
Link to freezerfuelmanager
Importing the class
Link to 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.
ZenScript Copyimport mods.aether.FreezerFuelManager;
Methods
Link to methods
Name: addFuel
Adds this item as fuel for the Freezer with the given burn time.
ZenScript Copy// 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);
Parameter | Type | Description | Optional |
---|---|---|---|
Parameter item | Type IIngredient | Description fuel IIngredient | Optional false |
Parameter burnTime | Type int | Description the fuel's burn time | Optional false |
Name: removeFuel
Removes this fuel item from the Freezer.
ZenScript Copy// FreezerFuelManager.removeFuel(ingredient as IIngredient)
mods.aether.FreezerFuelManager.removeFuel(<item:minecraft:coal>);
mods.aether.FreezerFuelManager.removeFuel(<tag:items:minecraft:planks>);
Parameter | Type | Description | Optional |
---|---|---|---|
Parameter item | Type IIngredient | Description fuel IIngredient | Optional false |