Skip to content
Tennantite
中文
Documentation

CompressorScreen

IC2 compressor from the original 1.12.2 GUI: input / discharge / 26×26 output slots, four upgrade slots, red EU bolt and triangle progress.

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

/**
 * CompressorScreen 预览用例:9 铁锭 → 1 铁块(原版图标近似)
*/
export function CompressorScreenDemo() {
  return (
    <CompressorScreen
      energy={{ max: 2000, value: 1100 }}
      input={{ count: 9, icon: "iron-ingot", tooltip: "铁锭 ×9" }}
      output={{ count: 1, icon: "iron-block", tooltip: "铁块" }}
      progress={0.6}
      title="压缩机"
    />
  );
}