There are problems with input and output slots on the GUI creation.
The server and client sides are not synchronized, which causes many glitches including duplicate items in slots, "ghost" item that disappears after picking them up or not being usable in some cases and other similar bugs. This could be fixed by implementing a proper server to client communication and will be fixed in the upcoming updates.
This issue can be avoided by using inherited inventory of block and using block events for slot management instead of GUI events for slot management. This way, the data is stored and synchronized.
This workaround solves most use cases, so we are lowering the priority of this issue. The workaround will be doable from MCreator 1.7.9 new procedure system and in versions above.
How should I use block events for slot management if none of the block events provide a guiinventory?
You use the slot management procedure blocks from the Block category in the proceure designer, they do not depend on the guiinventory.
Still, using block events, at least for me, doesn't work. The GUI resets with no item inside after being open for the second time. I am using ver 1.8.0.
You need to bind the slots to the inherited inventory, not to custom one.
Works perfectly now! Thx a lot for help.
No problem :)