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

Chemical Dissolution Chamber

As of Mekanism 9.7.0 it is now possible to view all recipe strings of the Chemical Dissolution Chamber through the command /ct mekrecipes dissolution

Addition

script.zs
mods.mekanism.chemical.dissolution.addRecipe(IIngredient inputStack, IGasStack outputGas);
mods.mekanism.chemical.dissolution.addRecipe(<minecraft:ice>, <gas:water>);

As of Mekanism 9.7.0 it is possible to use IIngredients as the inputStack instead of only IItemStacks.

Note: Currently all this does is loop over the different possibilities in java while adding instead of you having to do it in ZenScript. Currently there is no built in support for compound ingredients or oredictionary in the machines themselves.

Removal

script.zs
mods.mekanism.chemical.dissolution.removeRecipe(IIngredient outputGas, @Optional IIngredient inputStack);
mods.mekanism.chemical.dissolution.removeRecipe(<gas:osmium>, <mekanism:oreblock>);
mods.mekanism.chemical.dissolution.removeRecipe(<gas:tin>);

Specifying an input parameter will only remove the specific recipe that uses said input. Omitting the input parameter will remove all recipes that produce the specified output.

Removing all recipes

As of Mekanism 9.7.0 it is now possible to remove all Chemical Dissolution Chamber recipes. (This excludes any recipes added via CraftTweaker)

script.zs
mods.mekanism.chemical.dissolution.removeAllRecipes();