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

冷冻机界面

Thermal 冷冻机界面(MachineChillerScreen 176×166):输入槽、26×26 产物槽 (120,30)、medium 流体罐 (34,22)、流体进度箭头 (87,35)、scale_snowflake 速度元素。

全屏预览预览页不进入搜索引擎索引
冷冻机玩家

组成

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

代码

import {
  THERMAL_DEMO_PLAYER_HOTBAR,
  THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalChillerScreen } from "./index";

/**
 * ThermalChillerScreen 预览用例:1000mB 水 → 冰(冷冻机 chiller)。
 */
export function ThermalChillerScreenDemo() {
  return (
    <ThermalChillerScreen
      energy={{ amount: 240000, capacity: 400000 }}
      fluid={{ amount: 1000, capacity: 4000, tint: "#3c64c8" }}
      input={undefined}
      onSlotClick={() => {}}
      output={{ count: 1, icon: "ice", tooltip: "冰" }}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
      progress={0.35}
      speed={0.6}
    />
  );
}