ReactantDynamo
Link to reactantdynamo
Import the package
Link to import-the-package
To shorten method calls you can import the package like so:
ZenScript Copyimport mods.thermalexpansion.ReactantDynamo;
Add Reaction
Link to add-reaction
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
.
Remove Reaction
Link to remove-reaction
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>);