{
player.closeScreen();
}
player.getNextWindowId();
VirtualChest chest = new VirtualChest(player);
player.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(player.currentWindowId, 0, name, size, true));
player.openContainer = new ContainerChest(player.inventory, chest);
player.openContainer.windowId = player.currentWindowId;
player.openContainer.addCraftingToCrafters(player);
}