public interface IAirHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addAir(int amount)
Adds air to this handler.
|
int |
getAir()
Returns the amount of air in this handler.
|
int |
getBaseVolume()
Gets the base volume of this handler, before any Volume Upgrades are taken into account.
|
float |
getPressure()
Get the current pressure for this handler.
|
int |
getVolume()
Get the effective volume of this air handler.
|
float |
maxPressure()
Get the maximum pressure this handler can take.
|
void |
setBaseVolume(int newBaseVolume)
Set the base volume of this air handler.
|
float getPressure()
int getAir()
void addAir(int amount)
amount - amount of air to add in mL, may be negative.int getBaseVolume()
void setBaseVolume(int newBaseVolume)
newBaseVolume - the new base volumeint getVolume()
IItemRegistry.registerPneumaticVolumeModifier(ItemVolumeModifier)).float maxPressure()