How to create a Custom GUI?
I am creating a Minecraft vanilla mini games server and I want to create a custom GUI, but as far as I know there is no way to do this without a Bukkit server. I want to make it so it will /testfor
a compass in a player's hand. When the player has a compass, it will /summon
a donkey without a saddle, and with a chest on the player's head. When the player left clicks with the compass, it will open the donkey's chest GUI. Then, I want to make it so there is already items in the chest, but an unsure how.
Best Answer
Use /replaceitem. It will allow you to set items in the donkey's chest. Then, give each item a custom name. Testfor it being in a player's inventory, then preform the necessary action
Pictures about "How to create a Custom GUI?"
How do I create a custom UI?
The Android UI model is inherently customizable, offering the means to create custom UI components in various ways....Make Your OwnHow do you add a custom GUI to Minecraft?
Customized graphical user interface allows you to create and access advanced data analytics capabilities from a single screen.[HOI4 Modding] Creating Custom GUI
More answers regarding how to create a Custom GUI?
Answer 2
You could use MCStacker to summon a donkey with items in already in the donkey's chest.
Here's a link to my version. https://mcstacker.bimbimma.com/#!88137
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, Maria Lindsey Content Creator, Andrea Piacquadio