Started by HssLeno98 on Sun, 11/27/2016 - 19:22 Topic category: Help with Minecraft modding (Java Edition) How to make a chest block? Jump to top Edited by HssLeno98 on Sun, 11/27/2016 - 21:34 hmmm you could try to make a block and in the maker select "has inventory" does that work Jump to top Permalink Log in or register to post comments You need to make a block with an inventory, than make make a GUI. In the GUI don't add a new inventory, but use the ''inherited''. Than put as many slots as you want an complete editing. Go back to youre block en select ''when block right clicked'' open basic GUI and select the one you made. I hope it works for you! Jump to top Permalink Log in or register to post comments If I don't add a new inventory and just use the inherited one, MC crashes when trying to open the block's inventory. If I add an inventory, it "works", but items don't save in the block ... :( Jump to top Permalink Log in or register to post comments You must create GUI for it Jump to top Permalink Log in or register to post comments And don't forgot that the number of slots in the GUI can't be more than the numver chosen in the block when you are adding the inventory to it Jump to top Permalink Log in or register to post comments I tried all that but when I tried to place an event(when place click) on it and choose the GUI it does not show??? Any code work arounds? Jump to top Permalink Log in or register to post comments
hmmm you could try to make a block and in the maker select "has inventory" does that work Jump to top Permalink Log in or register to post comments
You need to make a block with an inventory, than make make a GUI. In the GUI don't add a new inventory, but use the ''inherited''. Than put as many slots as you want an complete editing. Go back to youre block en select ''when block right clicked'' open basic GUI and select the one you made. I hope it works for you! Jump to top Permalink Log in or register to post comments
If I don't add a new inventory and just use the inherited one, MC crashes when trying to open the block's inventory. If I add an inventory, it "works", but items don't save in the block ... :( Jump to top Permalink Log in or register to post comments
And don't forgot that the number of slots in the GUI can't be more than the numver chosen in the block when you are adding the inventory to it Jump to top Permalink Log in or register to post comments
I tried all that but when I tried to place an event(when place click) on it and choose the GUI it does not show??? Any code work arounds? Jump to top Permalink Log in or register to post comments
hmmm you could try to make a block and in the maker select "has inventory" does that work
You need to make a block with an inventory, than make make a GUI.
In the GUI don't add a new inventory, but use the ''inherited''.
Than put as many slots as you want an complete editing.
Go back to youre block en select ''when block right clicked'' open basic GUI and select the one you made.
I hope it works for you!
If I don't add a new inventory and just use the inherited one, MC crashes when trying to open the block's inventory. If I add an inventory, it "works", but items don't save in the block ... :(
You must create GUI for it
And don't forgot that the number of slots in the GUI can't be more than the numver chosen in the block when you are adding the inventory to it
I tried all that but when I tried to place an event(when place click) on it and choose the GUI it does not show??? Any code work arounds?