WriteItemStack changes for collection