Skip to content
Tennantite
中文
Documentation

IfDissolutionChamberScreen

IF dissolution chamber (176×184): eight irregular inputs, a 1×3 output, two fluid tanks, a lock button and the right-side augment / tank panels.

Full-screen previewPreview pages are excluded from search indexes
溶解成型机
3
8
16

Composition

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

Code

import { useState } from "react";

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

export function IfDissolutionChamberScreenDemo() {
  const [isLocked, setIsLocked] = useState(false);
  return (
    <IfDissolutionChamberScreen
      energy={{ max: 1000, value: 620 }}
      inputFluid={{ max: 1000, tint: "#41CD34", value: 480 }}
      inputs={[
        IF_DEMO_ITEMS.diamond,
        IF_DEMO_ITEMS.wheat,
        IF_DEMO_ITEMS.emerald,
        IF_DEMO_ITEMS.gunpowder,
      ]}
      isLocked={isLocked}
      onLockChange={setIsLocked}
      output={IF_DEMO_ITEMS.potion}
      outputFluid={{ max: 1000, tint: "#B24CD8", value: 260 }}
      progress={0.45}
    />
  );
}