Hi,
i am trying to implement a Block with Inventory and GUI. When clicking it, the game crashes with "Slot 0 not in valid range - [0,0)". Now this sounds like the ItemStack is initialized with a size of 0. But i am initializing it with size 6. The GUI is opened, but after about half a second the crash occurs.
Coding so far:
abstract NodeTileEntity:
CityCenterEntity:
Abstract NodeContainer:
CityCenterContainer: