Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Enervation Dynamo

Import the package

To shorten method calls you can import the package like so:

script.zs
import mods.thermalexpansion.EnervationDynamo;

Add Fuel

script.zs
//mods.thermalexpansion.EnervationDynamo.addFuel(IItemStack stack, int energy);
mods.thermalexpansion.EnervationDynamo.addFuel(<minecraft:stick>, 20000);

Note: The energy parameter needs to be a value between 2000 and 200000000.

Remove Fuel

script.zs
//mods.thermalexpansion.EnervationDynamo.removeFuel(IItemStack stack);
mods.thermalexpansion.EnervationDynamo.removeFuel(<minecraft:stick>);