Documentation
ThermalCollectorScreen
Thermal 收集器界面(DeviceCollectorScreen 176×166):5×3 只取出槽阵,无输入槽与能量表。
收集器玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalCollectorScreen } from "./index";
/**
* ThermalCollectorScreen 预览用例:收集器按环境收集物品,无固定配方。
*/
export function ThermalCollectorScreenDemo() {
return (
<ThermalCollectorScreen
onSlotClick={() => {}}
output={undefined}
outputs={[]}
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-collector-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.