Steam Dynamo
Import the package
To shorten method calls you can import the package like so:
import mods.thermalexpansion.SteamDynamo;
Add Fuel
//mods.thermalexpansion.SteamDynamo.addFuel(IItemStack stack, int energy);mods.thermalexpansion.SteamDynamo.addFuel(<minecraft:stick>, 20000);
Note: The energy
parameter needs to be a value between 2000
and 200000000
.
Remove Fuel
//mods.thermalexpansion.SteamDynamo.removeFuel(IItemStack stack);mods.thermalexpansion.SteamDynamo.removeFuel(<minecraft:stick>);