Skip to content
Tennantite
中文
Documentation

ThermalPulverizerScreen

Thermal 粉碎机界面(MachinePulverizerScreen 176×166):双输入槽 (43,16)/(43,52)、4×18 产物槽、进度箭头 (72,35)、scale_crush 速度元素 (44,35)、左侧能量表与右侧强化面板。

Full-screen previewPreview pages are excluded from search indexes
粉碎机玩家

Composition

These are the composable components; the Block only places them at vanilla coordinates.

Code

import {
  THERMAL_DEMO_PLAYER_HOTBAR,
  THERMAL_DEMO_PLAYER_MAIN,
} from "../thermal-demo-data";
import { ThermalPulverizerScreen } from "./index";

/**
 * ThermalPulverizerScreen 预览用例:铁矿石 → 2 铁粉(粉碎机 pulverizer)。
 */
export function ThermalPulverizerScreenDemo() {
  return (
    <ThermalPulverizerScreen
      energy={{ amount: 240000, capacity: 400000 }}
      input={{ count: 1, icon: "iron-ore", tooltip: "铁矿石" }}
      inputs={[null]}
      onSlotClick={() => {}}
      output={{ count: 2, icon: "iron-ingot", tooltip: "铁粉 ×2" }}
      outputs={[null, null, null]}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
      progress={0.5}
      speed={0.75}
    />
  );
}