Skip to content
Tennantite
中文
Documentation

IeArcFurnaceScreen

IE arc furnace (1.21.1 original textures): 12 inputs, 4 additives, 6 outputs, slag, 3 electrodes, distribute button, vertical progress group and energy bar.

Full-screen previewPreview pages are excluded from search indexes
弧光炉物品栏

Composition

These are the composable components; the Block only places them at vanilla coordinates.

Code

import { IE_DEMO_GRAPHITE, IE_DEMO_SLAG } from "../ie-demo-data";
import { IeArcFurnaceScreen } from "./index";

/**
 * IeArcFurnaceScreen 预览用例:铁矿石 → 2 铁锭 + 矿渣;12 输入 + 1 添加剂 + 3 输出 + 3 电极。
 */
export function IeArcFurnaceScreenDemo() {
  const ore = { count: 1, icon: "iron-ore" as const, tooltip: "铁矿石" };
  return (
    <IeArcFurnaceScreen
      additives={[null]}
      electrodes={[IE_DEMO_GRAPHITE, IE_DEMO_GRAPHITE, IE_DEMO_GRAPHITE]}
      energy={{ max: 100000, value: 62000 }}
      inputs={[ore, ...Array.from({ length: 11 }, () => null)]}
      onDistribute={() => {}}
      onSlotClick={() => {}}
      outputs={[{ count: 2, icon: "iron-ingot", tooltip: "铁锭 ×2" }, null, null]}
      progresses={[0.9, 0, 0]}
      slagOutput={IE_DEMO_SLAG}
    />
  );
}