
- 支持 1.20.2-26.1+! (安装前请务必检查版本!)
- 请确保 关注 本项目以获取 新功能 的通知!
- 对于 1.21.6+ 版本,上传数据包后请 重启世界。
关于我
GUI Maker 是一个 数据包地图制作工具,允许 地图制作者 在其 Minecraft 世界中 创建库存 GUI!这是一个基于存储的数据包,它将页面布局详细信息存储在相应的存储路径中,并通过宏从中读取。此数据包根据 MIT 许可证发布,这意味着如果您希望进行修改,可以下载其源代码并相应地进行修改。
功能
-
创建多个库存 GUI
此数据包提供了一种简单的方法来在 同一个 Minecraft 世界中创建多个 GUI!它还允许 轻松导航和切换页面!
-
性能高效!
此数据包在设计时已考虑到性能负载,以防止由其功能引起的卡顿。如果你觉得该数据包 效率不够高 并且可以进一步改进,欢迎联系我或制作你自己的版本。
注意事项
-
在使用之前设置好所有 GUI 布局!
建议用户在尝试使用此数据包之前,设置好与页面相关的所有内容。这样做肯定会加快你的创作过程。
如何制作 GUI
关键提示:一旦将数据包上传到世界,如果你在玩单人游戏,需要重新加入世界;如果你在服务器中使用该数据包,则需要重启服务器。这是因为数据包使用了新的 /dialog 系统,而该系统只有在世界重启时才会重新加载。
这里有一个视频教程。
-
首先,制作一个 GUI
- 通过运行函数 /function gm:menu 打开 GUI Maker v2.0 菜单™
- 点击 CREATE GUI(创建 GUI)
- 点击 "CREATE GUI PROFILE"(创建 GUI 配置文件)
- 聊天栏会显示一个 GUI ID,请记住它!
- 现在,要向你的 GUI 添加页面,再次打开菜单。
- 点击 CREATE GUI(创建 GUI),然后点击 Append a Page(追加页面)。
- 通过回忆 GUI ID 找到你制作的 GUI。
这样,你就创建了 GUI。下一步是让按钮执行操作。
-
其次,编辑页面
- 通过运行函数 /function gm:menu 打开 GUI Maker v2.0 菜单™。
- 点击 Edit Page(编辑页面)。
- 导航到你的 GUI ID 和 PAGE(页面)。
- 选择编辑页面名称或编辑内容。
- 一旦按下 Editing Contents(编辑内容),将会向你显示菜单的原型布局。如果你的 GUI 有空槽位,则只会显示有物品的槽位。
- 悬停在按钮上会显示该槽位中存在的物品详情,利用它来找到你想要更改的按钮。找到后,点击它。
- 另一个对话框菜单将出现。在这里,进行所有需要的更改。不要保持文本输入为空。完成后,点击 Apply(应用)。
-
最后,生成 GUI
- 通过再次运行函数 /function gm:menu 打开 GUI Maker v2.0 菜单™。
- 点击 "Spawn GUI"(生成 GUI)。
- 导航到你想要召唤的页面。
- 选择将其作为桶或矿车箱生成。
- 一旦点击按钮,聊天栏会出现一条消息,提供无需对话框即可召唤 GUI 的命令,开发者可以复制此命令并将其放入其数据包的特定部分。
其他
在任何情况下都不得重新上传完全相同的数据包。
你可以将此数据包 + 你的函数文件打包并上传,随你意愿。
你可以随意进行修改并按需使用/上传。
允许你在你的创作中使用此数据包,并将此数据包与你的创作一起上传。
额外信息
感谢阅读本项目的描述。自上一个版本以来,发生了许多变化。最初,数据包被分为两部分。但这次,它们被合并为一个。直到 Mojang 对对话框进行重大更改之前,当前系统将为未来的 Minecraft 版本进行升级/维护。
谢谢!
- 感谢你下载此数据包(如果你已下载的话)!
- 感谢在你的创作中使用此数据包!
- 感谢对本数据包项目的兴趣!

- 1.20.2-26.1+ supported! (make sure to check versions before installing!)
- Make sure to follow this project to get notified about new features!
- For versions 1.21.6+, Restart your World upon uploading the datapack.
About Me
GUI Maker is a datapack mapmaking tool that allows mapmakers to create Inventory GUI in their minecraft worlds! This is a storage-based datapack which stores page layout details in appropriate storage paths and draws from them with the help of macros. This datapack is released under MIT license, meaning that if you wish to make changes, you can download its source code and modify accordingly.
Features
-
Create Multiple Inventory GUI
This datapack allows for an easy way to create multiple GUI in the same minecraft world! It also allows for easy navigation and page-changing feature!
-
Performance-Efficient!
This datapack has been made to account for performance load and prevent lag spikes caused by its functions. If you feel that the datapack is not efficient enough and can be further improved, feel free to contact me or make your own version of this datapack.
Points to Note
-
Setup ALL of your GUI Layouts before Using!
It is advised that users set up everything relating to the pages before attempting to use this datapack. If you do this, it will surely speed up your creation process.
How to Make a GUI
Key Note: Once you've uploaded the datapack onto the world, you need to rejoin the world if you're in singleplayer, or restart the server if you're using the datapack in a server. This is because the datapack uses a new /dialog system and that is only reloaded upon world restart.
Here's a video tutorial.
-
First, Make a GUI
- Open the GUI Maker v2.0 Menu™ by running the function /function gm:menu
- Click on CREATE GUI
- Click "CREATE GUI PROFILE"
- A GUI ID will be displayed in the chat, keep it in mind!
- Now, to append pages to your GUI, open the menu again.
- Click on CREATE GUI, then click on Append a Page instead.
- Find the GUI you've made by recalling the GUI ID.
That way, you've created the GUI. Now, the next step is to make buttons do things.
-
Second, Edit the Page
- Open the GUI Maker v2.0 Menu™ by running the function /function gm:menu.
- Click on Edit Page.
- Navigate to your GUI ID and PAGE
- Choose between Editing Page Name and Editing Contents
- Once you press Editing Contents, a prototypical layout of the Menu will be displayed to you. If your GUI has empty slots, only the slots which have items will be shown.
- Hovering over the Button gives detail about the Item present in that slot, use it to find the button you want to make changes to. Once you've found it, press on it
- Another Dialog Menu will pop up. Here, make all the changes you need. Do not keep the text inputs empty. Once done, click Apply.
-
Lastly, Spawn the GUI
- Open the GUI Maker v2.0 Menu™ by running the function /function gm:menu, again.
- Click on "Spawn GUI"
- Navigate to the Page you want to Summon.
- Choose between Spawning it as a Barrel or Chest Minecart.
- Once the button is clicked, a message will appear in chat for the command to summon the GUI without dialog, this can be copied by the developer to put it in specific parts of their datapack.
Other
You must NOT re-upload this exact datapack under any circumstances.
You can package this datapack + your function files and upload them, as you wish.
You can make changes you want as you wish and use it/upload it as you wish.
You are allowed to use this datapack in your creations and upload this datapack with your creation combined.
Extras
Thanks for reading the description of this project. Since the last version of the datapack, alot of changes have made. Initially, the datapack was split into two parts. But this time, they've been merged into one. Until Mojang makes major changes with dialogs, the current system will be upgraded/maintained for future minecraft versions to come.
Thank you!
- Thanks for downloading this datapack (if you've downloaded it)!
- Thanks for using this datapack in your creations!
- Thanks for showing interest in this datapack project!
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Maker
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Maker
下载 GUI Maker
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Maker
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Maker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
2.0.1 版本的小对话文件修复 PAGE NAME 中的 SNBTs/NBTs 目前尚不支持。 如果您在使用数据包时遇到任何问题,请加入 Discord 或在 GitHub 页面上创建问题论坛。
这里有一个视频教程。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
粉色方块中的千种可能!
数据包
为你的 Minecraft 世界添加了超过 900 个新的进度
评论 0
登录后参与评分
还没有评论,来抢沙发吧