This page relates to PneumaticCraft: Repressurized, which has built-in support!
Requires PneumaticCraft: Repressurized v2.12.6 or newer.
Pressure Chamber
The Pressure Chamber is a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe()
and removeAll()
.
Methods
Add Recipe
Pressure Chamber recipes require a list of input item ingredients, a list of output items, and a minimum pressure. If the supplied pressure is negative, the chamber’s pressure must be below that pressure, i.e. it is the absolute value of the pressure that is considered.
The following script adds a recipe to convert a Diamond and 4 Slime Balls into an Emerald, requiring 4.0 bar of pressure:
Remove Recipes
The following script will remove all Pressure Chamber recipes: