Im actually stuck on this one.
Intention:
Be able to load a chest´s inventory into a list of ItemStacks.
Make a player open a chest GUI and close it.
Minecraft.getMinecraft().thePlayer.displayGUIChest(((TileEntityChest) Minecraft.getMinecraft().theWorld.getTileEntity(pos)));
is what i found in my IDE, but it doesnt work.