Pressure component (PNC)

Add PneumaticCraft pressure capability to your machine

This component requires Custom Machinery Pneumaticcraft to be installed.

This is the component that let your machine interact with the PneumaticCraft pressure system, it is also compatible with any mods that make use of PneumaticCraft pressure.

Pressure component is defined as a unique machine component, meaning that you can only have 1 per machine.

If you try to define more than 1 pressure component only the first will be used.

The pressure component make use of the config property to configure which sides of the machine can handle pressure.

By default all sides will enable pressure.

Pressure component is defined with "type": "custommachinery:pressure" in the json.

Properties

The pressure component has 4 mandatory properties and 1 optional property :

Mandatory properties

"type": "custommachinery:pressure" //Mandatory to define a pressure component.
Volume

Name : volume

Description :

An positive integer property that define the air volume available in the machine.

PneumaticCraft calculate the pressure using the amount of air stored in the defined volume.

The higher the volume, the longer it will take to increase or decrease pressure.

Note : The machine can store an unlimited amount of compressed air, if the stored amount is over the specified volume then the pressure will increase.

Example :

Set the volume to 10000mL.

"volume": 10000
Danger

Name : danger

Description :

A positive decimal value, between 0.0bar and 25.0bar.

The start of the "red" pressure on the gauge, if the machine reach a pressure higher than this danger pressure it has a chance to explode.

Example :

Set the danger pressure to 3bar.

"danger": 3.0
Critical

Name : critical

Description :

A positive decimal value, between 0.0bar and 25.0bar.

The highest pressure on the gauge, if the machine reach this danger pressure it will explode.

For practical reasons the critical pressure must be superior to the danger pressure.

Example :

Set the danger pressure to 3bar.

"danger": 3.0

Optional property

Toggle Config

Example

A basic pressure component :

{
    "type": "custommachinery:pressure",
    "volume": 10000,
    "danger": 3,
    "critical": 5
}

Last updated