int var2;
int var4;
for(var2 = 0; var2 < this.xChunks; ++var2) {
for(int var3 = 0; var3 < this.yChunks; ++var3) {
for(var4 = 0; var4 < this.zChunks; ++var4) {
this.chunkCache[(var4 * this.yChunks + var3) * this.xChunks + var2] = new Chunk(this.level, var2 << 4, var3 << 4, var4 << 4, 16, this.baseListId + var1);
this.loadQueue[(var4 * this.yChunks + var3) * this.xChunks + var2] = this.chunkCache[(var4 * this.yChunks + var3) * this.xChunks + var2];
var1 += 2;
}
}
}