Purification Chamber

Link to purification-chamber

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

ZenScript
Copy
mods.mekanism.purification.addRecipe(IIngredient itemInput, @Optional IGasStack gasInput, IItemStack itemOutput);

mods.mekanism.purification.addRecipe(<minecraft:wool:1>, <gas:hydrogenchloride>, <minecraft:wool>);
mods.mekanism.purification.addRecipe(<minecraft:coal:1>, <minecraft:coal>);

As of Mekanism 9.7.0 inputGas is no longer restricted to only oxygen

Also as of Mekanism 9.7.0 it is possible to use IIngredients as the itemInput 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.

ZenScript
Copy
mods.mekanism.purification.removeRecipe(IIngredient itemOutput, @Optional IIngredient itemInput, @Optional IIngredient gasInput);

mods.mekanism.purification.removeRecipe(<mekanism:clump:2>, <mekanism:shard:2>, <gas:oxygen>);
mods.mekanism.purification.removeRecipe(<mekanism:clump:1>);

Specifying an input parameter will only remove the specific recipe that uses said input. Lässt man den Input-Parameter weg, werden alle Rezepte für das jeweilige Item gelöscht.

Removing all recipes

Link to removing-all-recipes

As of Mekanism 9.7.0 it is now possible to remove all Purification Chamber recipes. (Das betrifft nicht die Rezepte, welche mittels CraftTweaker hinzugefügt wurden)

ZenScript
Copy
mods.mekanism.purification.removeAllRecipes();