Documentation
ThermalCrucibleScreen
Thermal 熔解炉界面(MachineCrucibleScreen 176×166):输入槽、medium 产物流体罐 (125,22)、液滴进度 (84,35) 与 scale_flame 速度元素。
熔解炉玩家
import {
THERMAL_DEMO_PLAYER_HOTBAR,
THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalCrucibleScreen } from "./index";
/**
* ThermalCrucibleScreen 预览用例:圆石 → 1000mB 熔岩(熔解炉 crucible)。
*/
export function ThermalCrucibleScreenDemo() {
return (
<ThermalCrucibleScreen
energy={{ amount: 240000, capacity: 400000 }}
fluid={{ amount: 1000, capacity: 4000, tint: "#e25822" }}
input={{ count: 1, icon: "stone-block", tooltip: "圆石" }}
onSlotClick={() => {}}
playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
playerItems={THERMAL_DEMO_PLAYER_MAIN}
progress={0.5}
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-crucible-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.