private CompoundTag createChunkTag()
{
CompoundTag level = new CompoundTag("Level");
level.put("Biomes", new ByteArrayTag("Biomes", biomes));
level.put("HeightMap", new IntArrayTag("HeightMap", heightmap));
level.put("LastUpdate", new LongTag("LastUpdate", 0));
level.put("xPos", new IntTag("xPos", x));
level.put("zPos", new IntTag("zPos", z));
level.put("TerrainPopulated", new ByteTag("TerrainPopulated", (byte)1));
CompoundTag root = new CompoundTag("");