8889909192939495969798
int platZ = chunk.chunkZ - originZ; PlatLot platlot = platLots[platX][platZ]; if (platlot != null) { // do what we came here for platlot.generateBlocks(generator, this, chunk, context, platX, platZ); } } public int getNumberOfRoads() {
357358359360361362363364365366367
RealChunk realChunk = new RealChunk(chunkGen, chunk); // figure out what everything looks like PlatMap platmap = chunkGen.getPlatMap(chunkX, chunkZ); if (platmap != null) { platmap.generateBlocks(realChunk); // finalize things chunkGen.lootProvider.saveLoots(); // Originally by Sablednah