Skip to content
Tennantite
中文
Documentation

ThermalSawmillScreen

Thermal 锯木机界面(MachineSawmillScreen 176×166):输入槽、4×18 产物槽、进度箭头 (72,35)、scale_saw 速度元素 (44,44)。

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

/**
 * ThermalSawmillScreen 预览用例:橡木原木 → 6 橡木木板 + 锯末(sawmill)。
 */
export function ThermalSawmillScreenDemo() {
  return (
    <ThermalSawmillScreen
      energy={{ amount: 240000, capacity: 400000 }}
      input={{ count: 1, icon: "oak-log", tooltip: "橡木原木" }}
      onSlotClick={() => {}}
      output={{ count: 6, icon: "oak-planks", tooltip: "橡木木板 ×6" }}
      outputs={[{ count: 1, icon: "charcoal", tooltip: "锯末" }]}
      playerHotbar={THERMAL_DEMO_PLAYER_HOTBAR}
      playerItems={THERMAL_DEMO_PLAYER_MAIN}
      progress={0.4}
      speed={0.6}
    />
  );
}