Documentation
InductionFurnaceScreen
IC2 感应炉界面(guidef/induction_furnace.xml):双输入 / 双产物无框槽位(上游 overlay 底板未同步)、左侧热量文字、放电槽、4 个升级槽与 EU 闪电。
感应炉玩家热量: 46
import { InductionFurnaceScreen } from "./index";
/**
* InductionFurnaceScreen 预览用例:每输入 1 铁矿石 → 1 铁锭(原版图标近似),热量 46。
*/
export function InductionFurnaceScreenDemo() {
return (
<InductionFurnaceScreen
discharge={{ icon: "lapis-lazuli", tooltip: "RE 电池" }}
energy={{ max: 10000, value: 7200 }}
heat={46}
inputA={{ icon: "iron-ore", tooltip: "铁矿石" }}
inputB={{ icon: "iron-ore", tooltip: "铁矿石" }}
outputA={{ count: 1, icon: "iron-ingot", tooltip: "铁锭" }}
outputB={{ count: 1, icon: "iron-ingot", tooltip: "铁锭" }}
progress={0.3}
title="感应炉"
/>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/induction-furnace-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.