GUI Editor

GUI is an in-game screen with which has interactive objects. It consists of text fields, images, buttons, slots etc.

GUI Properties

There are 5 properties:

  • GUI Width: The width of your GUI (in pixels)
  • GUI Height: The height of your GUI (in pixels)
  • GUI Type: 2 options: With Slots or WIthout Slots. If you select With Slots, you will be able to create slots (Input and output slots) and inventories.
  • Render background layer: Check this box if you want a backgound (Grey-White color). If not, uncheck the box.
  • Bind GUI to block: If you want to make a Tile Entity, you have to choose the block with the option for inventory activated.

GUI Components

There are 6 components:

  • Buttons: The buttons are objects with events. This event works like the normal events.
  • Images: Just images from your PC.
  • Text Label: Plain text that supports MCreator's default tags for some variables (both in-game and global MCreator's variables). The text can also be colored.
  • Text Input: A section where the player can write and execute events. (Like the command block).
  • Input Slot: Description below
  • Output Slot: Description below

Slots and Inventory Components

To create a slot (input or output) you must first enable inventory, with the Inventory Option:

Inventory Options

Click Inventory button under Inventory Options in order to add an inventory.

  • Inventory Name: Just put a name for the inventory.
  • The number of Slots: Just put the desired number of slots you want to have in this inventory.
  • Drop items from inventory when GUI is closed: Check the box if you want to drop all items in the slots when you close the GUI. If not, just un-check it.

When you have been created an inventory, you can create slots:

Slots Options

It has 2 buttons: Input and Output Slot:

  • Input Slot: Choose it if you want to put items in there.
  • Output Slot: Choose it if you want to put items with events, not by hand.

Input slot

  • Belongs to: Select the inventory that you created earlier.
  • Slot ID: It is the ID of this specific slot. It's necessary to don't have the same number more than one time.
  • Custom Color: If you want to put a color in the slot, select the color. If not, skip clicking this button.
  • Limit stack input: If you want to limit the type of item that the slot accepts (Like a redstone dust or a torch), select the desired item. If not, just ignore this option.
  • Add Event: It's just self-explanatory.

Finally, just move the slot where you want it to be

Output Slot

  • Belongs to: Select the inventory that you created earlier.
  • Slot ID: It is the ID of this specific slot. It's necessary to don't have the same number more than one time.
  • Custom Color: If you want to put a color in the slot, select the color. If not, skip clicking this button.
  • Add Event: It's just self-explanatory.

Putting items in Output Slots

  1. Add an Event (In blocks, items, guns, slots, etc.)
  2. Select: Place items in GUI slot
  3. Write the ID of your Output slot (visible on the GUI, it's a number like 02)
  4. Write the name of the Inventory of your Output slot
  5. Select the item that you want to put in and select the amount.

Edit Options

These buttons will help you make a GUI:

  • Move Component: Moves the components you select.
  • Remove Component: Removes selected component.
  • Remove Inventory: Removes selected inventory.
  • Snap components on the grid: Toggles grid used to easily align components.


Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.