Documentation
EioXpVacuumScreen
Ender IO 经验真空机(176×166):32×32 经验流体区、范围控件与红石控制。
物品栏
import { EioXpVacuumScreen } from "./index";
/**
* XpVacuum 预览。
*/
export function EioXpVacuumScreenDemo() {
return (
<EioXpVacuumScreen
onRangeToggle={() => {}}
onRedstoneChange={() => {}}
onSlotClick={() => {}}
rangeVisible={true}
/>
);
}
Install
$pnpm add @tennantite/enderionpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/enderio/src/eio-xp-vacuum-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.