// where are we?
int chunkX = chunk.getX();
int chunkZ = chunk.getZ();
// place to work
RealChunk realChunk = new RealChunk(chunkGen, chunk);
// figure out what everything looks like
PlatMap platmap = chunkGen.getPlatMap(chunkX, chunkZ);
if (platmap != null) {
platmap.generateBlocks(realChunk);