Skip to content
Tennantite
中文
Documentation

ThermalChargeBenchScreen

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

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