Documentation
IeBlastFurnaceScreen
高炉:输入/燃料/双输出槽 + 火焰与箭头进度(复用背景贴图裁剪区域),176×166
高炉物品栏
import { IeBlastFurnaceScreen } from "./index";
/**
* IeBlastFurnaceScreen 预览用例:铁锭 → 钢锭 + 矿渣,42%,燃烧 78%。
*/
export function IeBlastFurnaceScreenDemo() {
return (
<IeBlastFurnaceScreen
burn={0.78}
fuel={{ count: 1, icon: "charcoal", tooltip: "焦煤" }}
input={{ count: 1, icon: "iron-ingot", tooltip: "铁锭" }}
onSlotClick={() => {}}
outputs={[
{ count: 1, icon: "iron-ingot", tooltip: "钢锭" },
{ count: 1, icon: "stone-block", tooltip: "矿渣" },
]}
process={0.42}
/>
);
}
Install
$pnpm add @tennantite/ienpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ie/src/ie-blast-furnace-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.