Package com.mojang.minecraft.render

Examples of com.mojang.minecraft.render.Chunk


      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;
            }
         }
      }
View Full Code Here


      }

      for(var1 = var1; var1 <= var4; ++var1) {
         for(int var7 = var2; var7 <= var5; ++var7) {
            for(int var8 = var3; var8 <= var6; ++var8) {
               Chunk var9;
               if(!(var9 = this.chunkCache[(var8 * this.yChunks + var7) * this.xChunks + var1]).loaded) {
                  var9.loaded = true;
                  this.chunks.add(this.chunkCache[(var8 * this.yChunks + var7) * this.xChunks + var1]);
               }
            }
View Full Code Here

TOP

Related Classes of com.mojang.minecraft.render.Chunk

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.