Documentation
MekanismTeleporterScreen
Mekanism 传送器屏(176×240,GuiTeleporter + GuiFrequencySelector):左上状态图标(5 态)+ 能量槽与纵向能量条 + 频率选择器(公开/受信任/私有页签、频率列表、设置/删除按钮、彩色频率色块),含侧配置/升级窗口。
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 { MekanismTeleporterScreen } from "../index";
export function MekanismTeleporterScreenDemo() {
return (
<MekanismTeleporterScreen
currentFrequency={{ color: "#59c15f", id: "home", label: "home (Steve)", owner: "Steve", security: "public" }}
energySlot={{ count: 1, icon: "lapis-lazuli", tooltip: "能量平板" }}
frequencies={[
{ color: "#59c15f", id: "home", label: "home (Steve)", owner: "Steve", security: "public" },
{ id: "base", label: "base (Alex)", owner: "Alex", security: "private" },
{ id: "hub", label: "hub (Steve)", owner: "Steve", security: "protected" },
{ id: "farm", label: "farm (Alex)", owner: "Alex", security: "public" },
{ id: "mine", label: "mine (Steve)", owner: "Steve", security: "public" },
]}
selectedFrequencyId="home"
status="ready"
/>
);
}