Documentation
ElectricFurnaceScreen
IC2 electric furnace from the original 1.12.2 GUI: input / discharge / 26×26 output slots, four upgrade slots, red EU bolt and arrow progress.
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 { ElectricFurnaceScreen } from "./index";
interface ElectricFurnaceScreenDemoProps {
energy?: { max: number; value: number };
progress?: number;
}
/**
* ElectricFurnaceScreen 预览用例:铁矿石 → 铁锭(原版图标近似)
*/
export function ElectricFurnaceScreenDemo({ energy = { max: 2000, value: 1750 }, progress = 0.8 }: ElectricFurnaceScreenDemoProps = {}) {
return (
<ElectricFurnaceScreen
energy={energy}
input={{ icon: "iron-ore", tooltip: "铁矿石" }}
output={{ count: 1, icon: "iron-ingot", tooltip: "铁锭" }}
progress={progress}
title="电炉"
/>
);
}