Documentation
EioCapacitorBankScreen
Ender IO capacitor bank (176×208 panel / 176×166 background): 9×68 energy bar, redstone and IO controls.
import { EioCapacitorBankScreen } from "./index";
/**
* 电容组预览:1.2M / 4M RF(30%)。
*/
export function EioCapacitorBankScreenDemo() {
return (
<EioCapacitorBankScreen
energy={{ max: 4000000, value: 1200000 }}
onRedstoneChange={() => {}}
/>
);
}
Install
$pnpm add @tennantite/enderionpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/enderio/src/eio-capacitor-bank-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.