Documentation
EioBufferScreen
Ender IO 缓冲器(252×166,贴图测量坐标):右侧 2×3 缓冲槽与玩家背包。
import { EIO_DEMO_GOLD_INGOT, EIO_DEMO_IRON_ORE } from "../eio-demo-data";
import { EioBufferScreen } from "./index";
/**
* Buffer 预览。
*/
export function EioBufferScreenDemo() {
return (
<EioBufferScreen
items={{
"buffer-slot-0": EIO_DEMO_IRON_ORE,
"buffer-slot-1": EIO_DEMO_GOLD_INGOT,
}}
/>
);
}
Install
$pnpm add @tennantite/enderionpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/enderio/src/eio-buffer-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.