Started by
Bihi10
on
Topic category: Help with modding (Java Edition)
(Written in trash english)
I have an issue i have bound a gui with to an block entity. And it doesn't seem to get the slots when to ui is closed.
I also used the "Get a copy from item in slot from block" procedure block.
Binding a GUI to a block does not mean the block itself has storage slots. Clicking the block will open the GUI, but because the block does not have storage, items will go back to your inventory once the GUI is closed. (This is how the crafting table works- the crafting table can only store items if you have the GUI open.) You need to give your block storage slots, then reference the storage slots of the block in the GUI.