Minecraft Inventory Slot 0
A GUI is an in-game screen with which has interactive objects. It consists of text fields, images, buttons, slots etc.
Analytics cookies. We use analytics cookies to understand how you use our websites so we can make them better, e.g. They're used to gather information about the pages you visit and how many clicks you need to accomplish a task. Sometimes a Slot tag is used to specify the slot the item is in, such as with chests; other times there is no Slot tag, such as with dropped items. Count: Number of items stacked in this inventory slot. Any item can be stacked, including tools, armor, and vehicles. Range is -128 to 127. /data get entity @p Inventory.id (Where Inventory is an NBT property, 0 is the first item in the inventory array, and id is an NBT property within the item object in the inventory array) If you want to find if a player has an item, you can use the /execute command and test for player NBT.
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 any text and can be detected and used to execute events, example uses are like a custom command block or search function.
- 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:
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
- Add an Event (In blocks, items, guns, slots, etc.)
- Select: Place items in GUI slot
- Write the ID of your Output slot (visible on the GUI, it's a number like 02)
- Write the name of the Inventory of your Output slot
- Select the item that you want to put in and select the amount.
Edit Options
These buttons will help you make a GUI:
Minecraft Inventory Slot Id
- 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.
Baubles | |
---|---|
Current developers | Azanor |
Past developers | Vazkii |
Version | 1.5.1 |
Supported Minecraft versions | 1.12.2 |
URL | Link |
Modpacks | |
FTB Builders Paradise FTB Academy Unstable 1.7.2 |
Baubles is a small mod and API by Azanor, which was temporarily taken over by Vazkii until Azanor returned, that is meant to be used by other mods to add additional player inventory slots. The Baubles inventory can be accessed by pressing the B key, by default. This inventory is different from the normal inventory; it adds an amulet, a belt, and two ring slots. As of the 1.10 version, it also adds a head, body and charm slot. Baubles does not add very much content itself, apart from the Miner's Ring. The idea is not to add content, but to be an addon for other mods that add inventory slots.
Minecraft Inventory Slots Mod
See also[edit edit source]
Miner's Ring