Documentation
ThermalChargeBenchScreen
Thermal 充能台界面(ChargeBenchScreen 176×166):能量表、3×3 充能槽阵 (60,16) 起步进 18、充能槽 (7,52) 与取出槽 (151,52)。
充能台玩家
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}
/>
);
}
Install
$pnpm add @tennantite/thermalnpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/thermal/src/thermal-charge-bench-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.