ChunkPrimer chunkprimer = new ChunkPrimer();
generate(x, z, chunkprimer);
Chunk chunk = new Chunk(world, chunkprimer, x, z);
byte[] biomeArray = chunk.getBiomeArray();
for (int i = 0; i < biomeArray.length; ++i) {
<BUG>biomeArray[i] = (byte) Biome.getIdForBiome(Biomes.PLAINS);
}</BUG>
chunk.generateSkylightMap();
return chunk;
}

ChunkPrimer chunkprimer = new ChunkPrimer();
generate(x, z, chunkprimer);
Chunk chunk = new Chunk(world, chunkprimer, x, z);
byte[] biomeArray = chunk.getBiomeArray();
for (int i = 0; i < biomeArray.length; ++i) {
biomeArray[i] = (byte) 42;
}
chunk.generateSkylightMap();
return chunk;
}
