Documentation
IronFurnaceScreen
IC2 铁炉界面(1.12.2 原版贴图):通用机器布局省略放电槽与 EU 表,燃料槽沿用放电槽位,熔炼箭头进度。
铁炉玩家
import { IronFurnaceScreen } from "./index";
/**
* IronFurnaceScreen 预览用例:铁矿石 + 煤炭 → 铁锭(原版图标近似)
*/
export function IronFurnaceScreenDemo() {
return (
<IronFurnaceScreen
fuel={{ icon: "charcoal", tooltip: "木炭" }}
input={{ icon: "iron-ore", tooltip: "铁矿石" }}
output={{ count: 1, icon: "iron-ingot", tooltip: "铁锭" }}
progress={0.7}
title="铁炉"
/>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/iron-furnace-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.