Started by
ImNotFun
on
Topic category: Help with MCreator software
I've looked through the forums, but I can't find anything about this. Is there a way to add a chest inventory to an item? I've tried it the normal way you would if you add an inventory to a block, but the items don't stay and they just return to my hotbar. I've also just used a basic "open gui" procedure when you right click
I'm no expert, but this is what I'd do: Create a GUI for your item, an inventory I'm guessing. Go to procedures of your item, click on "When Right Clicked in Air" and create procedure. Go to "Player" tab, scroll down to "Open GUI of provided player: {YOUR GUI}
Hope this helps ^^
Oh and also, do this for "When Right Clicked on Block" too if you want.
that won't work for items, because they can't have an inventory yet so if you close the GUI all the items in it will disappear.
Yup, right after creating these comments I checked the wiki and saw it was not possible.
If you just bound a gui with slots to the item it should work correctly. commenting if this still is a problem