IncubatorFuelManager
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.
import mods.aether.IncubatorFuelManager;
Methods
Adds this item as fuel for the Incubator with the given burn time.
// IncubatorFuelManager.addFuel(ingredient as IIngredient, burnTime as int)mods.aether.IncubatorFuelManager.addFuel(<item:minecraft:coal>, 250);mods.aether.IncubatorFuelManager.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 |
Removes this fuel item from the Incubator.
// IncubatorFuelManager.removeFuel(ingredient as IIngredient)mods.aether.IncubatorFuelManager.removeFuel(<item:minecraft:coal>);mods.aether.IncubatorFuelManager.removeFuel(<tag:items:minecraft:planks>);
Parameter | Type | Description | Optional |
---|---|---|---|
Parameter item | Type IIngredient | Description fuel IIngredient | Optional false |