Documentation
ExtractorScreen
IC2 extractor from the original 1.12.2 GUI: input / discharge / 26×26 output slots, four upgrade slots, red EU bolt and drop progress.
提取机玩家
import { ExtractorScreen } from "./index";
/**
* ExtractorScreen 预览用例:黏性树脂 → 3 橡胶(原版图标近似)
*/
export function ExtractorScreenDemo() {
return (
<ExtractorScreen
energy={{ max: 2000, value: 600 }}
input={{ count: 1, icon: "oak-planks", tooltip: "黏性树脂" }}
output={{ count: 3, icon: "charcoal", tooltip: "橡胶 ×3" }}
progress={0.3}
title="提取机"
/>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/extractor-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.