跳到主要内容
Tennantite
EN
文档目录

光合增幅机界面

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

全屏预览预览页不进入搜索引擎索引
光合增幅机玩家

组成

这些是可直接组合的组件;Block 只是把它们按原版坐标放在一起。

代码

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}
    />
  );
}