Skip to content
Tennantite
中文
Documentation

EioPaintingMachineScreen

Ender IO 涂色机(176×166):油漆 / 输入 / 输出槽、24×16 横向进度、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_INGOT, EIO_DEMO_IRON_ORE } from "../eio-demo-data";
import { EioPaintingMachineScreen } from "./index";

/**
 * PaintingMachine 预览。
 */
export function EioPaintingMachineScreenDemo() {
  return (
    <EioPaintingMachineScreen
      energy={{ max: 100000, value: 48000 }}
      items={{
        "painting-machine-input": EIO_DEMO_IRON_ORE,
        "painting-machine-output": EIO_DEMO_GOLD_INGOT,
        "painting-machine-paint": EIO_DEMO_IRON_INGOT,
      }}
      onIoConfig={() => {}}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      progress={0.45}
      state="active"
    />
  );
}