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

压印器界面

AE2 压印器(原版 inscriber.png 切片,177×176 + 右侧升级槽条):3 个压印/输入槽、26×26 输出槽、竖向进度条与玩家背包。

全屏预览预览页不进入搜索引擎索引
压印器
物品栏

组成

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

代码

import { Ae2InscriberScreen } from "./index";

interface Ae2InscriberScreenDemoProps {
  progress?: number;
}

/**
 * Ae2InscriberScreen 预览用例:逻辑电路板 + 红石 + 硅板 → 逻辑处理器。
 */
export function Ae2InscriberScreenDemo({ progress = 0.6 }: Ae2InscriberScreenDemoProps = {}) {
  return (
    <Ae2InscriberScreen
      bottomPlate={{ count: 1, icon: "diamond", tooltip: "硅板" }}
      input={{ count: 1, icon: "redstone", tooltip: "红石" }}
      output={{ count: 1, icon: "diamond", tooltip: "逻辑处理器" }}
      progress={progress}
      topPlate={{ count: 1, icon: "iron-ingot", tooltip: "逻辑电路板" }}
      upgrades={[{ icon: "emerald", tooltip: "加速卡" }]}
    />
  );
}