Import the package

Link to import-the-package

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

ZenScript
Copy
import mods.thermalexpansion.ReactantDynamo;
ZenScript
Copy
//mods.thermalexpansion.ReactantDynamo.addReaction(IItemStack item, ILiquidStack liquid, int energy);
mods.thermalexpansion.ReactantDynamo.addReaction(<minecraft:bedrock>, <liquid:water>, 20000);

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

Add Elemental Reaction

Link to add-elemental-reaction

ZenScript
Copy
//mods.thermalexpansion.ReactantDynamo.addReactionElemental(IItemStack item, ILiquidStack liquid, int energy);
mods.thermalexpansion.ReactantDynamo.addReactionElemental(<minecraft:bedrock>, <liquid:water>, 20000);

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

ZenScript
Copy
//mods.thermalexpansion.ReactantDynamo.removeReaction(IItemStack item, ILiquidStack liquid);
mods.thermalexpansion.ReactantDynamo.removeReaction(<minecraft:bedrock>, <liquid:water>);

Remove Elemental Reaction

Link to remove-elemental-reaction

ZenScript
Copy
//mods.thermalexpansion.ReactantDynamo.removeReactionElemental(IItemStack item, ILiquidStack liquid);
mods.thermalexpansion.ReactantDynamo.removeReactionElemental(<minecraft:bedrock>, <liquid:water>);