Skip to content
Tennantite
中文
Documentation

EioNiardScreen

Ender IO 泼洒器(176×166,与流体坦克同 hash 共用布局,另用 39×56 流体区):电容槽、充 / 排槽位与范围控件。

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

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