Advanced Text Display
完全在游戏内构建高度自定义的交互式菜单和持久化 HUD 覆盖层——无需资源包、无需外部编辑器,也无需为每个菜单编写代码。通过可视化方式设计商店、任务板、传送菜单、记分板界面、计时器和信息面板,然后使用与 /tellraw 命令相同的原始 JSON 文本将其连接到实时数据。
两种编辑区域
/gui —— 窗口式菜单,按需为特定玩家打开。非常适合商店、物品组(kits)、传送列表、对话或任何玩家打开后关闭的菜单。
/ui —— 持久化屏幕覆盖层,对所有已连接的玩家始终显示(例如实时记分板、计时器或状态 HUD)。与资源包 HUD 不同,默认情况下它不会因按下 F1 而隐藏。
一切均在游戏内完成
可视化拖放编辑器——无需手动编辑 JSON,无需外部工具。按 ` 键并点击 + 添加元素,拖拽定位,右键单击以打开完整的属性面板。
支持多选、组合拖拽/调整大小以及复制/剪切/粘贴——甚至可以在不同的 GUI 和 UI 之间操作。
分辨率无关布局——锚点和基于百分比的尺寸设置确保无论玩家的屏幕尺寸或 GUI 缩放比例如何,菜单都能正确重排。
可选的网格对齐功能,实现像素级精准定位。
元素类型
Button(按钮)——执行命令(提升至操作员权限,因此商店/物品组按钮对任何玩家都有效)或打开 URL,支持可选的自定义纹理和文字缩放。
Text(文本)——多行文本,支持每行独立的格式/颜色设置,完整支持原始 JSON 文本,包括实时存储/记分板值——使用与 /tellraw 相同的 {"storage":...}/{"score":...} 语法。
Sprite(精灵)——显示导入的自定义图片(PNG 或动画 GIF),或实时渲染的真实 Minecraft 物品/方块图标——包含可选的附魔光泽效果。可通过带有预览缩略图的可搜索浏览器进行选择,无需进行图像编辑。
Textfield(文本框)——一个真正的可输入文本框,将玩家输入的内容直接写入 NBT 命令存储中,并支持在之后立即运行指定命令。
专为服务器打造
仅限操作员,受权限等级限制——安全地将构建团队访问权限交予他人,而无需担心不受信任的玩家滥用。
完全兼容宏/函数——/gui 和 /ui 是普通命令,因此它们可以在 .mcfunction 文件和宏中正常工作,无需任何特殊配置。
按世界存储——您构建的所有内容都保存在世界自身的存档文件夹中,因此不同的世界/服务器之间不会相互干扰。
设计安全——连接的客户端永远不会将服务器提供的图片永久缓存到磁盘;它们仅在会话期间保留在内存中,并在每次加入时重新获取。**
命令一览
/gui create|edit|open|close|remove <name>
/ui create|edit|hide|show|remove <name>
需要 Fabric API。
Advanced Text Display
Build fully custom, interactive menus and persistent HUD overlays — entirely in-game, with no resource packs, no external editors, and no per-menu code. Design shops, quest boards, warp menus, scoreboards-as-UI, timers, and info panels visually, then hook them up to live data using the same raw-JSON text your /tellraw commands already use.
Two edit sections
/gui — windowed menus, opened for specific players on demand. Perfect for shops, kits, warp lists, dialogue, or any menu a player opens and closes.
/ui — persistent screen overlays, always on for every connected player (a live scoreboard, timer, or status HUD) — and unlike a resource-pack HUD, it survives pressing F1 by default.
Everything is built in-game
A visual, drag-and-drop editor — no JSON hand-editing, no external tools.Press ` and click + to add elements, drag to position, right-click for a full property panel.
Multi-select, group drag/resize, and copy/cut/paste — even across different GUIs and UIs.
Resolution-independent layout — anchor points and percentage-based sizing mean your menus reflow correctly no matter the player's screen size or GUI Scale.
An optional snap-to-grid for pixel-perfect alignment.
Element types
Button — runs a command (elevated to operator permission, so a shop/kit button works for any player) or opens a URL, with optional custom texture and text scale.
Text — multi-line, with independent per-line formatting/color and full raw-JSON text support, including live storage/scoreboard values — the same {"storage":...}/{"score":...} syntax /tellraw uses.
Sprite — show a custom imported image (PNG or animated GIF), or a live-rendered real Minecraft item/block icon — complete with an optional enchant glint — picked from a searchable browser with preview thumbnails, no image editing required.
Textfield — a real, typeable input box that writes whatever the player enters straight into NBT command storage, with an optional command to run right after.
Built for servers
Operator-only, gated by permission level — safe to hand your build team access without giving anything untrusted players can abuse.
Fully macro/function-compatible — /gui and /ui are ordinary commands, so they work from .mcfunction files and macros with zero special configuration.
Per-world storage — everything you build lives inside the world's own save folder, so different worlds/servers never bleed into each other.
Safe by design — a connecting client never permanently caches server-supplied images to disk; they're held in memory for the session and re-fetched on each join.
Commands at a glance
/gui create|edit|open|close|remove <name>
/ui create|edit|hide|show|remove <name>
Requires Fabric API.
评论 0
登录后参与评分
还没有评论,来抢沙发吧