Skip to content
Tennantite
中文
Documentation

EioDrainScreen

Ender IO 抽液器(176×166,与流体坦克同 hash 共用布局):电容槽、能量条、16×47 流体表与范围控件。

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_CHARCOAL } from "../eio-demo-data";
import { EioDrainScreen } from "./index";

/**
 * Drain 预览。
 */
export function EioDrainScreenDemo() {
  return (
    <EioDrainScreen
      energy={{ max: 100000, value: 48000 }}
      items={{
        "tank-capacitor": EIO_DEMO_CHARCOAL,
      }}
      onIoConfig={() => {}}
      onRangeToggle={() => {}}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      rangeVisible={true}
      state="active"
    />
  );
}