Started by
kubakuba007
on
Topic category: Help with MCreator software
i cant make an openable chest. well, i can, but i cant find a way to include spaces that you can put items to. i cant find the button that is used to insert that space, even though i have made a block with an inventory. does anyone know what i may be doing wrong?
When you make the block itself, be sure to give it slots (on the second-to-last page, I believe). MCreator calls this a tile entity.
Next, you need to make a GUI for the block to show you when you right-click it. By default, MCreator will make an inventory that other blocks such as Hoppers can interact with, but not a GUI for the player to see. Unfortunately, you'll have to make every slot in the GUI yourself. Just make sure they're all input slots.
Finally, you need to make a procedure that will open the GUI using the Open GUI for the provided (entity)player procedure. You can make this trigger whenever you'd like, but you'll probably want to make it trigger when you right-click the block (so, edit the block in MCreator. On the 5th page is where you define when to show the player the GUI).
You can also use the procedure to play any sounds you want to play for when the player opens the container.
problem solved. when you have the mcreator window too small, you cant see the add imput slot button XD. i think this should be fixed to prevent stuff like this happening to someone else.
when i tested the gui, the game crashed. what to do now?