Skip to content
Tennantite
中文
Documentation

IfMycelialGeneratorScreen

IF mycelial generator: 16 variants share one layout, with input kind and color driven by the variant table.

Full-screen previewPreview pages are excluded from search indexes
菌丝网络史莱姆发电机
8
8

Composition

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

Code

import { IF_DEMO_ITEMS } from "../if-demo-data";
import { IfMycelialGeneratorScreen } from "./index";

export function IfMycelialGeneratorScreenDemo() {
  return (
    <IfMycelialGeneratorScreen
      burn={0.4}
      display={IF_DEMO_ITEMS.wheat}
      energy={{ max: 1000, value: 300 }}
      inputs={[{ max: 1000, tint: "#F0F0F0", value: 500 }, IF_DEMO_ITEMS.wheat]}
      variant="slimey"
    />
  );
}