文档目录
合金冶炼炉界面
合金炉:双输入 + 燃料 + 输出槽,火焰与箭头进度(箭头 x=84),176×166
全屏预览预览页不进入搜索引擎索引
合金炉物品栏
组成
这些是可直接组合的组件;Block 只是把它们按原版坐标放在一起。
代码
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}
/>
);
}