Skip to content
Tennantite
中文
Documentation

EioTankScreen

Ender IO 流体坦克(176×166,与抽液器 / 泼洒器共用 tank 布局):充 / 排四个流体槽位与 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_GOLD_INGOT, EIO_DEMO_IRON_ORE } from "../eio-demo-data";
import { EioTankScreen } from "./index";

/**
 * Tank 预览。
 */
export function EioTankScreenDemo() {
  return (
    <EioTankScreen
      items={{
        "tank-drain-output": EIO_DEMO_GOLD_INGOT,
        "tank-fill-input": EIO_DEMO_IRON_ORE,
      }}
      onIoConfig={() => {}}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      state="active"
    />
  );
}