levelTags.put("HeightMap", new ByteArrayTag("HeightMap", heightMapData));
levelTags.put("Entities", chunkEntitiesToTag(chunk));
levelTags.put("TileEntities", chunkTileEntitiesToTag(chunk));
levelTags.put("LastUpdate", new LongTag("LastUpdate", 0));
levelTags.put("xPos", new IntTag("xPos", chunk.getX()));
levelTags.put("zPos", new IntTag("zPos", chunk.getZ()));
// TODO: terrainpopulated
levelTags.put("TerrainPopulated", new ByteTag("TerrainPopulated", (byte) 0));
return new CompoundTag("Level", levelTags);
}