Documentation
EioMachineScreen
Ender IO machine base: 176 px background with optional centered title / inventory label and the player inventory.
import { EIO_MACHINES } from "../eio-machine-layout";
import { EioMachineScreen } from "./index";
export function EioMachineScreenDemo() {
const layout = EIO_MACHINES.stirlingGenerator;
return (
<EioMachineScreen
background={layout.background}
backgroundHeight={layout.backgroundHeight}
height={layout.height}
machine="stirlingGenerator"
player={layout.player}
width={layout.width}
/>
);
}
Install
$pnpm add @tennantite/enderionpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/enderio/src/eio-machine-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.