跳到正文

EFab-PnC

作者:lyxccc_

Added compatibility with PneumaticCraft: Repressurized for EFab - Unofficial

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

EFab PnC Compat adds PneumaticCraft: Repressurized support to EFab.

It adds a Pneumatic Interface block that lets EFab recipes require:

  • PneumaticCraft air
  • Minimum pressure in bar
  • Heat
  • Minimum temperature

Requirements

  • Minecraft 1.21.1
  • NeoForge
  • EFab – Unoffical
  • PneumaticCraft: Repressurized

CraftTweaker and KubeJS recipe integrations are available when those mods are installed.

License and Modpacks

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.

Unit Conversion

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

CraftTweaker

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)

KubeJS

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.

常见问题

EFab-PnC 支持哪些 Minecraft 版本?

EFab-PnC 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

EFab-PnC 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

lyxccc_ 的其他作品

查看全部 →