Exemplo n.º 1
0
 public WorldChunkManager(long seed)
     : base(seed)
 {
     biomeCache = new BiomeCache(this);
     GenLayer[] var4 = GenLayer.initializeAllBiomeGenerators(Seed, LargeBiomes);
     this.biomeIndexLayer = var4[1];
 }
Exemplo n.º 2
0
 public WorldChunkManager(long seed)
     : base(seed)
 {
     biomeCache = new BiomeCache(this);
     GenLayer[] var4 = GenLayer.initializeAllBiomeGenerators(Seed, LargeBiomes);
     this.biomeIndexLayer = var4[1];
 }
Exemplo n.º 3
0
 public BiomeCacheBlock(BiomeCache par1BiomeCache, int par2, int par3)
 {
     this.theBiomeCache     = par1BiomeCache;
     this.temperatureValues = new float[256];
     this.rainfallValues    = new float[256];
     this.biomes            = new BiomeGenBase[256];
     this.xPosition         = par2;
     this.zPosition         = par3;
     BiomeCache.getChunkManager(par1BiomeCache).getTemperatures(this.temperatureValues, par2 << 4, par3 << 4, 16, 16);
     BiomeCache.getChunkManager(par1BiomeCache).getRainfall(this.rainfallValues, par2 << 4, par3 << 4, 16, 16);
     BiomeCache.getChunkManager(par1BiomeCache).getBiomeGenAt(this.biomes, par2 << 4, par3 << 4, 16, 16, false);
 }
Exemplo n.º 4
0
 public BiomeCacheBlock(BiomeCache par1BiomeCache, int par2, int par3)
 {
     this.theBiomeCache = par1BiomeCache;
     this.temperatureValues = new float[256];
     this.rainfallValues = new float[256];
     this.biomes = new BiomeGenBase[256];
     this.xPosition = par2;
     this.zPosition = par3;
     BiomeCache.getChunkManager(par1BiomeCache).getTemperatures(this.temperatureValues, par2 << 4, par3 << 4, 16, 16);
     BiomeCache.getChunkManager(par1BiomeCache).getRainfall(this.rainfallValues, par2 << 4, par3 << 4, 16, 16);
     BiomeCache.getChunkManager(par1BiomeCache).getBiomeGenAt(this.biomes, par2 << 4, par3 << 4, 16, 16, false);
 }
Exemplo n.º 5
0
 public static WorldChunkManager getChunkManager(BiomeCache par0BiomeCache)
 {
     return(par0BiomeCache.chunkManager);
 }
Exemplo n.º 6
0
 public static WorldChunkManager getChunkManager(BiomeCache par0BiomeCache)
 {
     return par0BiomeCache.chunkManager;
 }