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.

You can call the Pressure Chamber package using mods.pneumaticcraft.pressurechamber.

This function removes the first recipe it finds with the given IItemStack outputs array:

ZenScript
Copy
mods.pneumaticcraft.pressurechamber.removeRecipe(IItemStack[] outputs);
// Example
mods.pneumaticcraft.pressurechamber.removeRecipe([<pneumaticcraft:ingot_iron_compressed>]);

This function removes all Pressure Chamber recipes:

ZenScript
Copy
mods.pneumaticcraft.pressurechamber.removeAllRecipes();

This function is used to add new recipes to the Pressure Chamber:

ZenScript
Copy
mods.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>]);