Documentation
ThermalSoilInfuserScreen
Thermal 土壤培肥机界面(DeviceSoilInfuserScreen 176×166):能量表 (8,8) 与 scale_flame_green 16×16 进度元素 (44,34)。
土壤培肥机玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalSoilInfuserScreen } from "./index";
/**
* ThermalSoilInfuserScreen 预览用例:土壤培肥机(soil_infuser)。
*/
export function ThermalSoilInfuserScreenDemo() {
return (
<ThermalSoilInfuserScreen
energy={{ amount: 240000, capacity: 400000 }}
onSlotClick={() => {}}
playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
playerItems={THERMAL_DEMO_PLAYER_MAIN}
speed={0.45}
/>
);
}
Install
$pnpm add @tennantite/thermalnpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/thermal/src/thermal-soil-infuser-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.