Documentation
Ae2QuantumBridgeScreen
量子链接仓:qbgui.png 176×166,奇点槽 + 可选量子卡槽。
量子链接仓物品栏
import { Ae2QuantumBridgeScreen } from "./index";
/**
* Ae2QuantumBridgeScreen 预览用例:奇点已放置,量子卡槽启用。
*/
export function Ae2QuantumBridgeScreenDemo() {
return (
<Ae2QuantumBridgeScreen
card={{ icon: "emerald", tooltip: "量子卡" }}
hotbarItems={Array.from({ length: 9 }, (_, index) => ({ icon: index % 2 ? "charcoal" : "iron-ingot" }))}
mainItems={Array.from({ length: 18 }, (_, index) => ({ icon: index % 2 ? "gold-ingot" : "iron-ingot" }))}
singularity={{ icon: "diamond", tooltip: "量子纠缠奇点" }}
/>
);
}
Install
$pnpm add @tennantite/ae2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ae2/src/ae2-quantum-bridge-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.