Documentation
EioWiredChargerScreen
Ender IO 有线充电器(197×166):充电 / 充毕槽、盔甲与副手槽、12×36 竖向进度与 9×42 能量条。
Full-screen previewPreview pages are excluded from search indexes
Composition
These are the composable components; the Block only places them at vanilla coordinates.
Code
import { EIO_DEMO_GOLD_INGOT, EIO_DEMO_IRON_ORE } from "../eio-demo-data";
import { EioWiredChargerScreen } from "./index";
/**
* WiredCharger 预览。
*/
export function EioWiredChargerScreenDemo() {
return (
<EioWiredChargerScreen
energy={{ max: 100000, value: 48000 }}
items={{
"wired-charger-item-charged": EIO_DEMO_GOLD_INGOT,
"wired-charger-item-to-charge": EIO_DEMO_IRON_ORE,
}}
onIoConfig={() => {}}
onRedstoneChange={() => {}}
onSlotClick={() => {}}
progress={0.45}
state="active"
/>
);
}