EFab PnC Compat adds PneumaticCraft: Repressurized support to EFab.
It adds a Pneumatic Interface block that lets EFab recipes require:
CraftTweaker and KubeJS recipe integrations are available when those mods are installed.
EFab PNC Compat is licensed under the MIT License.
You are free to use this mod in modpacks, including public and private modpacks, without asking for additional permission.
The Pneumatic Interface has 25000 air volume.
1 bar = 25000 air
2 bar = 50000 air
4 bar = 100000 air
minPressure is passed directly in bar.
The Pneumatic Interface has 500 heat capacity.
1 K temperature difference = 500 heat
10 K temperature difference = 5000 heat
100 K temperature difference = 50000 heat
minTemperature is passed in Kelvin:
Kelvin = Celsius + 273
100 C = 373 K
Chain these methods on an EFab grid recipe builder:
builder.pneumaticAir(25000); // consume 1 bar worth of air
builder.pneumaticAir(25000, 1.0); // require at least 1 bar and consume air above that reserve
builder.pneumaticPressure(2.0); // require 2 bar, no air consumption
builder.pneumaticHeat(5000); // consume 10 K worth of heat
builder.pneumaticHeat(5000, 373); // require at least 100 C and consume heat above that reserve
builder.pneumaticTemperature(373); // require 100 C, no heat consumption
Full method list:
pneumaticAir(air as int)
pneumaticAir(air as int, minPressure as float)
pneumaticAir(phase as string, air as int, minPressure as float, consume as bool)
pneumaticPressure(minPressure as float)
pneumaticHeat(heat as double)
pneumaticHeat(heat as double, minTemperature as double)
pneumaticHeat(phase as string, heat as double, minTemperature as double, consume as bool)
pneumaticTemperature(minTemperature as double)
Chain these methods on an EFab grid recipe builder:
builder.pneumaticAir(25000) // consume 1 bar worth of air
builder.pneumaticAir(25000, 1.0) // require at least 1 bar and consume air above that reserve
builder.pneumaticPressure(2.0) // require 2 bar, no air consumption
builder.pneumaticHeat(5000) // consume 10 K worth of heat
builder.pneumaticHeat(5000, 373) // require at least 100 C and consume heat above that reserve
builder.pneumaticTemperature(373) // require 100 C, no heat consumption
Full method list:
pneumaticAir(air)
pneumaticAir(air, minPressure)
pneumaticAir(air, minPressure, consume)
pneumaticPressure(minPressure)
pneumaticHeat(heat)
pneumaticHeat(heat, minTemperature)
pneumaticHeat(heat, minTemperature, consume)
pneumaticTemperature(minTemperature)
air and heat scale with the crafted output amount. Passing consume = false checks the requirement without draining the resource.