Started by
Rasticepro
on
Topic category: Help with MCreator software
I wanna make a container. but i dont know how to make the blocks inventory open. and do i have to make a inventory for it? also i was making a stove to cook my food. i was copying the fusion table but it said there was an error when i was downloading it. but i got everything right. plz help
For adding inventory to a block, there is a tab with an image of a chest and some redstone contraptions around. Just add the inventory and choose the slots, it's pretty self-explanatory.
Now make a GUI. Before adding inventory, bind it to your block. Then add the slots.
Now make a procedure
"Open gui (this gui) to provided player"
Now bind this procedure to your block
I hope it helped
So do i make the block like this?:
Name in GUI: Container
Hardness: 2
Resistance: 10
Has Gravity: No
Able to destroy it: Axe
Material: wood
sound on step: wood
lightness: 0
is unbreakable: No
harvest level to brake: 4
enable inventory on this block: Yes
size of inventory: 9
Max size of stack: 64
do i add a inventory to the GUI?
Sorry if i get annoying. im new to creating mods
Yes, you need to add inventory to the gui, but not by using the button "add inventory", this way you'll add a gui that won't be stored in the gui. So you need to press the button "bind gui to block" and choose the block (this option is available before editing the gui)