Skip to content
Tennantite
中文
Documentation

EioStirlingGeneratorScreen

Ender IO Stirling generator (176×166): fuel slot, 14×14 burn progress, 9×42 energy bar, generating / efficiency text and the right-side controls.

Full-screen previewPreview pages are excluded from search indexes
产能 20.00 µI/t效率 100%

Composition

These are the composable components; the Block only places them at vanilla coordinates.

Code

import { EIO_DEMO_CHARCOAL } from "../eio-demo-data";
import { EioStirlingGeneratorScreen } from "./index";

/**
 * 斯特林发电机预览:煤炭燃烧 60%,能量 32%,产能 20 µI/t,效率 100%。
 */
export function EioStirlingGeneratorScreenDemo() {
  return (
    <EioStirlingGeneratorScreen
      burn={0.6}
      capacitorInstalled
      efficiency={100}
      energy={{ max: 100000, value: 32000 }}
      fuel={EIO_DEMO_CHARCOAL}
      generating={20}
      onRedstoneChange={() => {}}
      onSlotClick={() => {}}
      state="active"
    />
  );
}