HomeJavaDatapacksGUI Maker
GUI Maker
DatapacksJava

GUI Maker

by barden · on Modrinth

This datapack allows the player to create GUIs in their worlds freely and avoiding the hassle to hardcode them!

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.8–26.2 · Data pack⬇ Download for 1.21.8–26.2 · Fabric⬇ Download for 1.21.8–26.2 · Forge⬇ Download for 1.21.8–26.2 · NeoForge⬇ Download for 1.21.8–26.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
GUI Maker — screenshot 1

Description Page Top Image

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

Points to Note

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.

- 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.
- 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.
- 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!

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more