Fuel Registration

Motorboat

registerMotorboatFuel

Type Data Type
Input Fluidstack
mB/t Integer

Code Example:

mods.immersivepetroleum.Motorboat.registerMotorboatFuel(ILiquidStack fuelEntry, int mbPerTick);
mods.immersivepetroleum.Motorboat.registerMotorboatFuel(<liquid:water>, 5);

Portable Generator

registerPortableGenFuel

Type Data Type
Input Fluidstack
Flux/t Integer
mB/t Integer

Code Example:

mods.immersivepetroleum.PortableGenerator.registerPortableGenFuel(ILiquidStack fuelEntry, int fluxPerTick, int mbPerTick);
mods.immersivepetroleum.PortableGenerator.registerPortableGenFuel(<liquid:water>, 2048, 50);