Skip to content
Tennantite
中文
Documentation

ThermalInsolatorScreen

Thermal 光合增幅机界面(MachineInsolatorScreen 176×166):上/下输入槽、4×18 产物槽、medium 流体罐 (34,22)、流体进度箭头 (84,35)、scale_sun 速度元素。

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 {
  THERMAL_DEMO_PLAYER_HOTBAR,
  THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalInsolatorScreen } from "./index";

/**
 * ThermalInsolatorScreen 预览用例:小麦种子 → 2 小麦(光合增幅机 insolator)。
 */
export function ThermalInsolatorScreenDemo() {
  return (
    <ThermalInsolatorScreen
      energy={{ amount: 240000, capacity: 400000 }}
      fluid={{ amount: 2700, capacity: 4000, tint: "#3c64c8" }}
      input={{ count: 1, icon: "wheat-seeds", tooltip: "小麦种子" }}
      inputs={[null]}
      onSlotClick={() => {}}
      output={{ count: 2, icon: "wheat", tooltip: "小麦 ×2" }}
      outputs={[null, null]}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
      progress={0.5}
      speed={0.8}
    />
  );
}