Documentation
ThermalNullifierScreen
Thermal 销毁器界面(DeviceNullifierScreen 176×166):3×3 输入槽阵与清空垃圾桶按钮 (131,33) 20×20。
销毁器玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalNullifierScreen } from "./index";
/**
* ThermalNullifierScreen 预览用例:销毁器(nullifier),无配方。
*/
export function ThermalNullifierScreenDemo() {
return (
<ThermalNullifierScreen
input={undefined}
inputs={[]}
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-nullifier-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.