Skip to content
Tennantite
中文
Documentation

ThermalPyrolyzerScreen

Thermal 热解炉界面(MachinePyrolyzerScreen 176×166):输入槽、4×18 产物槽、medium 产物流体罐 (151,22)、流体进度箭头 (71,35)、scale_flame 速度元素。

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 { ThermalPyrolyzerScreen } from "./index";

/**
 * ThermalPyrolyzerScreen 预览用例:煤炭 → 焦炭 + 250mB 杂酚油(热解炉)。
 */
export function ThermalPyrolyzerScreenDemo() {
  return (
    <ThermalPyrolyzerScreen
      energy={{ amount: 240000, capacity: 400000 }}
      fluid={{ amount: 250, capacity: 4000, tint: "#6e5530" }}
      input={{ count: 1, icon: "coal", tooltip: "煤炭" }}
      onSlotClick={() => {}}
      output={{ count: 1, icon: "charcoal", tooltip: "焦炭" }}
      outputs={[null, null]}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
      progress={0.5}
      speed={0.7}
    />
  );
}