public Block(int x, int z, BiomeCache biomeCache) { xPosition = x; zPosition = z; biomeCache.chunkManager.getRainfall(rainfallValues, x << MinecraftConfig.chunkBitSize, z << MinecraftConfig.chunkBitSize, MinecraftConfig.chunkSize, MinecraftConfig.chunkSize); biomeCache.chunkManager.getBiomeGenAt(biomes, x << MinecraftConfig.chunkBitSize, z << MinecraftConfig.chunkBitSize, MinecraftConfig.chunkSize, MinecraftConfig.chunkSize, false); }
protected WorldChunkManager() { biomeCache = new BiomeCache(this); biomesToSpawnIn = new List <BiomeGenBase>(); biomesToSpawnIn.Add(BiomeGenBase.forest); biomesToSpawnIn.Add(BiomeGenBase.swampland); biomesToSpawnIn.Add(BiomeGenBase.taiga); }
public BiomeCacheBlock(BiomeCache biomecache, int i, int j) { field_35654_g = biomecache; field_35659_a = new float[256]; field_35657_b = new float[256]; field_35658_c = new BiomeGenBase[256]; field_35655_d = i; field_35656_e = j; BiomeCache.getWorldChunkManager(biomecache).getTemperatures(field_35659_a, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getRainfall(field_35657_b, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).func_35555_a(field_35658_c, i << 4, j << 4, 16, 16, false); }
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); }
public BiomeCacheBlock(BiomeCache par1BiomeCache, int par2, int par3) { biomeCache = par1BiomeCache; temperatureValues = new float[256]; rainfallValues = new float[256]; biomes = new BiomeGenBase[256]; xPosition = par2; zPosition = par3; BiomeCache.getChunkManager(par1BiomeCache).getTemperatures(temperatureValues, par2 << 4, par3 << 4, 16, 16); BiomeCache.getChunkManager(par1BiomeCache).getRainfall(rainfallValues, par2 << 4, par3 << 4, 16, 16); BiomeCache.getChunkManager(par1BiomeCache).getBiomeGenAt(biomes, par2 << 4, par3 << 4, 16, 16, false); }
public BiomeCacheBlock(BiomeCache par1BiomeCache, int par2, int par3) { BiomeCache = par1BiomeCache; TemperatureValues = new float[256]; RainfallValues = new float[256]; Biomes = new BiomeGenBase[256]; XPosition = par2; ZPosition = par3; BiomeCache.GetChunkManager(par1BiomeCache).GetTemperatures(TemperatureValues, par2 << 4, par3 << 4, 16, 16); BiomeCache.GetChunkManager(par1BiomeCache).GetRainfall(RainfallValues, par2 << 4, par3 << 4, 16, 16); BiomeCache.GetChunkManager(par1BiomeCache).GetBiomeGenAt(Biomes, par2 << 4, par3 << 4, 16, 16, false); }
public BiomeCacheBlock(BiomeCache biomecache, int i, int j) { field_35654_g = biomecache; field_35659_a = new float[256]; field_35657_b = new float[256]; field_35658_c = new BiomeGenBase[256]; field_35655_d = i; field_35656_e = j; BiomeCache.getWorldChunkManager(biomecache).getTemperatures(field_35659_a, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getRainfall(field_35657_b, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).func_35555_a(field_35658_c, i << 4, j << 4, 16, 16, false); }
public BiomeCacheBlock(BiomeCache biomecache, int i, int j) { biomeCache = biomecache; temperatureValues = new float[256]; rainfallValues = new float[256]; biomes = new BiomeGenBase[256]; xPosition = i; zPosition = j; BiomeCache.getWorldChunkManager(biomecache).getTemperatures(temperatureValues, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getRainfall(rainfallValues, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getBiomeGenAt(biomes, i << 4, j << 4, 16, 16, false); }
public BiomeCacheBlock(BiomeCache biomecache, int i, int j) { biomeCache = biomecache; temperatureValues = new float[256]; rainfallValues = new float[256]; biomes = new BiomeGenBase[256]; xPosition = i; zPosition = j; BiomeCache.getWorldChunkManager(biomecache).getTemperatures(temperatureValues, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getRainfall(rainfallValues, i << 4, j << 4, 16, 16); BiomeCache.getWorldChunkManager(biomecache).getBiomeGenAt(biomes, i << 4, j << 4, 16, 16, false); }
protected WorldChunkManager() { biomeCache = new BiomeCache(this); }