跳到主要内容
Tennantite
EN
文档目录

ME 冷凝器界面

物质冷凝器:condenser.png 176×197,垃圾/输出/存储元件槽 + 竖直储能进度条 + 输出模式按钮。

全屏预览预览页不进入搜索引擎索引
物质冷凝器
物品栏

组成

这些是可直接组合的组件;Block 只是把它们按原版坐标放在一起。

代码

import { Ae2CondenserScreen } from "./index";

/**
 * Ae2CondenserScreen 预览用例:垃圾槽投入余烬,储能过半。
 */
export function Ae2CondenserScreenDemo() {
  return (
    <Ae2CondenserScreen
      mainItems={Array.from({ length: 12 }, (_, index) => ({ icon: index % 2 ? "iron-ingot" : "gold-ingot" }))}
      modeLabel="能量细胞"
      output={{ icon: "diamond", tooltip: "物质球" }}
      progress={0.55}
      storageCell={{ icon: "emerald", tooltip: "1k 存储元件" }}
      trash={{ count: 1, icon: "dirt-block", tooltip: "销毁物品" }}
    />
  );
}