Block Inventory Blocks | MCreator
Channel: NorthWestTrees MCreator
Date: 2023-05-02

We will be covering the block inventory blocks today. Many people struggle with using these blocks so I hope that I can explain how they work in a short enough video that will cover basic mechanics that are used for things like custom crafting and furnace tutorials.

--- Working With GUIS ---
These blocks will work without GUIs without issues but if you want to use a GUI for your block's inventory the GUI you're using for the slots must be bound to the block. You can check the box to use the right-click event or run it via the procedure and open the GUI for the player when they right-click on the block via procedures.

--- Block Slot Values ---
When your setting up the block slots the value will be the number of slots your block can have. This value will be one value lower than in your GUI as the value starts at 0, not 1. So if you planning to use 0 to 8 slots in your GUI make sure the block has +1 for the slot count eg. 9 in this case. Not setting the right amount of slots or going outside of the slot count will crash the game.

► CHAPTERS
0:00 - Intro
0:04 - Finding the blocks
1:21 - Working with the blocks
1:34 - Getting the slot item
2:07 - Getting the slot count
2:36 - Testing for both items and count
3:26 - Testing if slots have room
5:40 - Quick recap so far
6:01 - Removing our input items
6:20 - Adding to the output slot.
7:12 - Using GUI notes
7:51 - Common issues
8:25 - Binding a GUI to your block
9:21 - Outro
9:36 - Watch next

► OFFICIAL SITES
    ● NorthWestTrees Gaming
        https://www.northwesttreesgaming.com
    ● Discord Server Page
        https://www.northwesttreesgaming.com/discord

► TAGS
#northwesttreesmcreator
#mcreatortutorial
#mcreator
#modding
#mods
#tutorial