I am trying to make a modular Block that changes it's GUI based on the installed modules. The creation and saving and of the tileentity works it's just the GUI/Container that's not syncing. To change the active container I just create a new instance in the GUI and assign playerInventory.player.openContainer and GuiContainer.inventorySlots to it. I think that is where my problem lies I just don't know any other way to change containers.
GuiContainer
Container
Item/Inventory
Gif of what is happening
http://i.imgur.com/wDycrZr.gifv