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

充能台界面

Thermal 充能台界面(ChargeBenchScreen 176×166):能量表、3×3 充能槽阵 (60,16) 起步进 18、充能槽 (7,52) 与取出槽 (151,52)。

全屏预览预览页不进入搜索引擎索引
充能台玩家

组成

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

代码

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

/**
 * ThermalChargeBenchScreen 预览用例:充能台只充电,不消耗配方。
 */
export function ThermalChargeBenchScreenDemo() {
  return (
    <ThermalChargeBenchScreen
      energy={{ amount: 240000, capacity: 400000 }}
      input={{ count: 1, icon: "lapis-lazuli", tooltip: "能量电池" }}
      inputs={[null, null, null, null, null, null, null, null, null, null, null]}
      onSlotClick={() => {}}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
    />
  );
}