Fuel Registration

Link to fuel-registration

Inscrire le Carburant

Link to inscrire-le-carburant

NameType
Name
Fluide/t
Type
Fluidstack
Name
Flux/t
Type
Integer

Example:

ZenScript
Copy
//mods.immersivepetroleum.FuelRegistry.registerGeneratorFuel(IFluidStack fuel, int fluxPerTick);

mods.immersivepetroleum.FuelRegistry.registerGeneratorFuel(<fluid:minecraft:water> * 180, 64); // Using 180mB per Tick

registerMotorboatFuel

Link to registermotorboatfuel

NameType
Name
Fluide/t
Type
Fluidstack

Example:

ZenScript
Copy
//mods.immersivepetroleum.FuelRegistry.registerboatFuel(IFluidStack carburant);

mods.immersivepetroleum.FuelRegistry.registerboatFuel(<fluid:minecraft:water> * 6); // Utilisation de 6mB par Tick