Documentation
IeSqueezerScreen
压榨机:4×2 压榨输入 + 输出/流体桶槽 + 流体罐与能量条,176×167
压榨机物品栏
import { IeSqueezerScreen } from "./index";
/**
* IeSqueezerScreen 预览用例:小麦种子 → 80mB 植物油,罐 80 / 8000,能量 28000 / 32000。
*/
export function IeSqueezerScreenDemo() {
return (
<IeSqueezerScreen
bucketOutput={undefined}
energy={{ max: 32000, value: 28000 }}
fluidContainer={{ icon: "potion", tooltip: "空桶" }}
inputs={[{ count: 1, icon: "wheat-seeds", tooltip: "小麦种子" }, null, null, null, null, null, null, null]}
onSlotClick={() => {}}
output={undefined}
tank={{ max: 8000, tint: "#c8a014", value: 80 }}
/>
);
}
Install
$pnpm add @tennantite/ienpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ie/src/ie-squeezer-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.