Skip to content
Tennantite
中文
Documentation

IeAlloySmelterScreen

合金炉:双输入 + 燃料 + 输出槽,火焰与箭头进度(箭头 x=84),176×166

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 { IeAlloySmelterScreen } from "./index";

/**
 * IeAlloySmelterScreen 预览用例:铜 + 镍 → 2 康铜锭,进度 58%。
 */
export function IeAlloySmelterScreenDemo() {
  return (
    <IeAlloySmelterScreen
      burn={0.5}
      fuel={{ count: 1, icon: "charcoal", tooltip: "煤炭" }}
      inputs={[{ count: 1, icon: "copper-ingot", tooltip: "铜锭" }, { count: 1, icon: "iron-ingot", tooltip: "镍锭" }]}
      onSlotClick={() => {}}
      output={{ count: 2, icon: "iron-ingot", tooltip: "康铜锭 ×2" }}
      process={0.58}
    />
  );
}