Pressure Chamber
Link to pressure-chamber
The Pressure Chamber is a multiblock structure which uses compressed air to convert one or more input items into one or more output items. Pressure Chamber recipes have an associated pressure value, which is the air pressure in bar required to perform the conversion.
Calling
Link to calling
You can call the Pressure Chamber package using mods.pneumaticcraft.pressurechamber
.
Removing
Link to removing
This function removes the first recipe it finds with the given IItemStack outputs
array:
ZenScript Copymods.pneumaticcraft.pressurechamber.removeRecipe(IItemStack[] outputs);
// Example
mods.pneumaticcraft.pressurechamber.removeRecipe([<pneumaticcraft:ingot_iron_compressed>]);
This function removes all Pressure Chamber recipes:
ZenScript Copymods.pneumaticcraft.pressurechamber.removeAllRecipes();
Adding
Link to adding
This function is used to add new recipes to the Pressure Chamber:
ZenScript Copymods.pneumaticcraft.pressurechamber.addRecipe(IIngredient[] inputs, double pressure, IItemStack[] outputs);
// Example
mods.pneumaticcraft.pressurechamber.addRecipe([<minecraft:gold_ingot> * 2,<minecraft:apple>], 2.0, [<minecraft:golden_apple>]);