Ejemplo n.º 1
0
 public GenStandard(World w, bool flag)
 {
     worldObj = w;
     random = new java.util.Random(w.seed);
     stoneNoise = new double[256];
     caveGenerator = new MapGenCaves();
     //strongholdGenerator = new MapGenStronghold();
     //villageGenerator = new MapGenVillage();
     //mineshaftGenerator = new MapGenMineshaft();
     ravineGenerator = new MapGenRavine();
     //unusedIntArray32x32 = new int[32][32];
     mapFeaturesEnabled = flag;
     field_705_k = new NoiseGeneratorOctaves(random, 16);
     field_704_l = new NoiseGeneratorOctaves(random, 16);
     field_703_m = new NoiseGeneratorOctaves(random, 8);
     field_702_n = new NoiseGeneratorOctaves(random, 4);
     field_715_a = new NoiseGeneratorOctaves(random, 10);
     field_714_b = new NoiseGeneratorOctaves(random, 16);
     //mobSpawnerNoise = new NoiseOctaves(random, 8);
 }
Ejemplo n.º 2
0
 public GenStandard(World w, bool flag)
 {
     worldObj      = w;
     random        = new java.util.Random(w.seed);
     stoneNoise    = new double[256];
     caveGenerator = new MapGenCaves();
     //strongholdGenerator = new MapGenStronghold();
     //villageGenerator = new MapGenVillage();
     //mineshaftGenerator = new MapGenMineshaft();
     ravineGenerator = new MapGenRavine();
     //unusedIntArray32x32 = new int[32][32];
     mapFeaturesEnabled = flag;
     field_705_k        = new NoiseGeneratorOctaves(random, 16);
     field_704_l        = new NoiseGeneratorOctaves(random, 16);
     field_703_m        = new NoiseGeneratorOctaves(random, 8);
     field_702_n        = new NoiseGeneratorOctaves(random, 4);
     field_715_a        = new NoiseGeneratorOctaves(random, 10);
     field_714_b        = new NoiseGeneratorOctaves(random, 16);
     //mobSpawnerNoise = new NoiseOctaves(random, 8);
 }