Skip to content
Tennantite
中文
Documentation

MekanismSecurityDeskScreen

Mekanism 安全台屏(176×230,GuiSecurityDesk):信任玩家滚动列表 + 移除按钮 + 添加输入框(对勾确认)+ 公开/私有/受信任三模式按钮 + 右列频率展示槽、安全灯与公开/私有图标 + 强制覆盖开关。

Full-screen previewPreview pages are excluded from search indexes
安全台玩家所有者:Steve
信任玩家安全:私有添加:

Composition

These are the composable components; the Block only places them at vanilla coordinates.

Code

import { MekanismSecurityDeskScreen } from "../index";

export function MekanismSecurityDeskScreenDemo() {
  return (
    <MekanismSecurityDeskScreen
      bottomItem={{ count: 1, icon: "iron-ingot", tooltip: "展示物品" }}
      owner="Steve"
      security="private"
      securityLight="enabled"
      topItem={{ count: 1, icon: "gold-ingot", tooltip: "展示物品" }}
      trusted={[
        { icon: "item/upgrade/filter", id: "alice", label: "Alice" },
        { id: "bob", label: "Bob" },
        { id: "carol", label: "Carol" },
        { id: "dave", label: "Dave" },
        { id: "erin", label: "Erin" },
      ]}
    />
  );
}