public ChunkProviderEnd(World par1World, long par2) { Field_40395_h = JavaHelper.ReturnRectangularArray <int>(32, 32); endWorld = par1World; endRNG = new Random((int)par2); noiseGen1 = new NoiseGeneratorOctaves(endRNG, 16); noiseGen2 = new NoiseGeneratorOctaves(endRNG, 16); noiseGen3 = new NoiseGeneratorOctaves(endRNG, 8); NoiseGen4 = new NoiseGeneratorOctaves(endRNG, 10); NoiseGen5 = new NoiseGeneratorOctaves(endRNG, 16); }
public ChunkProviderHell(World par1World, long par2) { GenNetherBridge = new MapGenNetherBridge(); slowsandNoise = new double[256]; gravelNoise = new double[256]; netherrackExclusivityNoise = new double[256]; netherCaveGenerator = new MapGenCavesHell(); worldObj = par1World; hellRNG = new Random((int)par2); netherNoiseGen1 = new NoiseGeneratorOctaves(hellRNG, 16); netherNoiseGen2 = new NoiseGeneratorOctaves(hellRNG, 16); netherNoiseGen3 = new NoiseGeneratorOctaves(hellRNG, 8); slowsandGravelNoiseGen = new NoiseGeneratorOctaves(hellRNG, 4); netherrackExculsivityNoiseGen = new NoiseGeneratorOctaves(hellRNG, 4); NetherNoiseGen6 = new NoiseGeneratorOctaves(hellRNG, 10); NetherNoiseGen7 = new NoiseGeneratorOctaves(hellRNG, 16); }
public ChunkProviderGenerate(World par1World, long par2, bool par4) { stoneNoise = new double[256]; caveGenerator = new MapGenCaves(); strongholdGenerator = new MapGenStronghold(); villageGenerator = new MapGenVillage(0); mineshaftGenerator = new MapGenMineshaft(); ravineGenerator = new MapGenRavine(); Field_914_i = JavaHelper.ReturnRectangularArray <int>(32, 32); worldObj = par1World; mapFeaturesEnabled = par4; rand = new Random((int)par2); noiseGen1 = new NoiseGeneratorOctaves(rand, 16); noiseGen2 = new NoiseGeneratorOctaves(rand, 16); noiseGen3 = new NoiseGeneratorOctaves(rand, 8); noiseGen4 = new NoiseGeneratorOctaves(rand, 4); NoiseGen5 = new NoiseGeneratorOctaves(rand, 10); NoiseGen6 = new NoiseGeneratorOctaves(rand, 16); MobSpawnerNoise = new NoiseGeneratorOctaves(rand, 8); }