This class was added by a mod with mod-id mekanism. So you need to have this mod installed if you want to use this feature.

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
Copy
import mods.mekanism.content.attribute.gas.FuelAttribute;

Implemented Interfaces

Link to implemented-interfaces

FuelAttribute implements the following interfaces. That means all methods defined in these interfaces are also available in FuelAttribute

Name: create

Defines a fuel which can be processed by a Gas-Burning Generator to produce energy.

Returns: Attribute representing the stats a substance has as a fuel.
Return Type: FuelAttribute

ZenScript
Copy
FuelAttribute.create(burnTicks as int, energyDensity as FloatingLong) as FuelAttribute
ParameterTypeDescription
Parameter
burnTicks
Type
int
Description
The number of ticks one mB of fuel can be burned for before being depleted; must be greater than zero.
Parameter
energyDensity
Type
FloatingLong
Description
The energy density in one mB of fuel; must be greater than zero.