Documentation
ThermalWaterGenScreen
Thermal 集水器界面(DeviceWaterGenScreen 176×166):仅 medium 流体罐 (116,22)。
集水器玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalWaterGenScreen } from "./index";
/**
* ThermalWaterGenScreen 预览用例:集水器(water_gen)。
*/
export function ThermalWaterGenScreenDemo() {
return (
<ThermalWaterGenScreen
fluid={{ amount: 2700, capacity: 4000, tint: "#3c64c8" }}
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-water-gen-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.