Skip to content
Tennantite
中文
Documentation

EioImpulseHopperScreen

Ender IO 脉冲漏斗(176×166):6 输入 / 6 幽影 / 6 输出槽、9×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 { EioImpulseHopperScreen } from "./index";

/**
 * ImpulseHopper 预览。
 */
export function EioImpulseHopperScreenDemo() {
  return (
    <EioImpulseHopperScreen
      energy={{ max: 100000, value: 48000 }}
      items={{
        "impulse-hopper-input-0": EIO_DEMO_IRON_ORE,
        "impulse-hopper-output-0": EIO_DEMO_GOLD_INGOT,
      }}
      onIoConfig={() => {}}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      state="active"
    />
  );
}