Skip to content
Tennantite
中文
Documentation

ThermalCentrifugeScreen

Thermal 离心机界面(MachineCentrifugeScreen 176×166):输入槽、4×18 产物槽、medium 流体罐 (151,22)、流体进度箭头 (72,35)、scale_spin 速度元素。

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 { 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}
    />
  );
}