Documentation
ThermalCentrifugeScreen
Thermal 离心机界面(MachineCentrifugeScreen 176×166):输入槽、4×18 产物槽、medium 流体罐 (151,22)、流体进度箭头 (72,35)、scale_spin 速度元素。
离心机玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalCentrifugeScreen } from "./index";
/**
* ThermalCentrifugeScreen 预览用例:蜜脾 → 100mB 蜂蜜(离心机 centrifuge)。
*/
export function ThermalCentrifugeScreenDemo() {
return (
<ThermalCentrifugeScreen
energy={{ amount: 240000, capacity: 400000 }}
fluid={{ amount: 100, capacity: 4000, tint: "#f5c542" }}
input={{ count: 1, icon: "honeycomb", tooltip: "蜜脾" }}
onSlotClick={() => {}}
output={undefined}
outputs={[null, null, null]}
playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
playerItems={THERMAL_DEMO_PLAYER_MAIN}
progress={0.55}
speed={0.7}
/>
);
}
Install
$pnpm add @tennantite/thermalnpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/thermal/src/thermal-centrifuge-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.