private void writeListTagPayload(ListTag tag) throws IOException {
		Class<? extends Tag> clazz = tag.getType();
		List<Tag> tags = tag.getValue();
		int size = tags.size();
		
		os.writeByte(NBTUtils.getTypeCode(clazz));
		os.writeInt(size);
		for(int i = 0; i < size; i++) {
			writeTagPayload(tags.get(i));
		}
	}