Skip to content
Tennantite
中文
Documentation

EioAttractorScreen

Ender IO 吸引方尖碑(176×166,四本方尖碑共用 attractor 布局):电容 / 灵魂过滤槽、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_CHARCOAL, EIO_DEMO_SOUL_VIAL } from "../eio-demo-data";
import { EioAttractorScreen } from "./index";

/**
 * Attractor 预览。
 */
export function EioAttractorScreenDemo() {
  return (
    <EioAttractorScreen
      background="screen/attractor"
      energy={{ max: 100000, value: 48000 }}
      items={{
        "obelisk-capacitor": EIO_DEMO_CHARCOAL,
        "obelisk-filter": EIO_DEMO_SOUL_VIAL,
      }}
      onRangeToggle={() => {}}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      rangeVisible={true}
      state="active"
    />
  );
}