public class PressureHelper
extends java.lang.Object
| Constructor and Description |
|---|
PressureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getUpgradedVolume(int baseVolume,
int upgradeCount)
Implement the PneumaticCraft standard for Volume Upgrade calculations.
|
public static int getUpgradedVolume(int baseVolume,
int upgradeCount)
baseVolume - the base volume, before modificationupgradeCount - the number of Volume Upgradesjava.lang.IllegalArgumentException - if the upgrade count is not in the range 0..64 inclusive