Documentation
RecyclerScreen
IC2 回收机界面(1.12.2 原版贴图):通用机器布局 + 熔炼箭头进度,输入 / 放电 / 26×26 产物槽、4 个升级槽与红色 EU 闪电。
回收机玩家
import { RecyclerScreen } from "./index";
/**
* RecyclerScreen 预览用例:任意物品按概率产出废料,槽位只显示单次产物
*/
export function RecyclerScreenDemo() {
return (
<RecyclerScreen
energy={{ max: 2000, value: 900 }}
input={{ count: 1, icon: "stone-block", tooltip: "圆石" }}
output={{ count: 1, icon: "gunpowder", tooltip: "废料" }}
progress={0.35}
title="回收机"
/>
);
}
Install
$pnpm add @tennantite/ic2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ic2/src/recycler-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.