コード例 #1
0
ファイル: ChunkProviderHell.cs プロジェクト: riverar/Crafty
 public ChunkProviderHell(World world, long l)
 {
     field_4233_p = new double[256];
     field_4232_q = new double[256];
     field_4231_r = new double[256];
     field_4230_s = new MapGenCavesHell();
     field_4235_n = world;
     hellRNG = new Random(l);
     field_4240_i = new NoiseGeneratorOctaves(hellRNG, 16);
     field_4239_j = new NoiseGeneratorOctaves(hellRNG, 16);
     field_4238_k = new NoiseGeneratorOctaves(hellRNG, 8);
     field_4237_l = new NoiseGeneratorOctaves(hellRNG, 4);
     field_4236_m = new NoiseGeneratorOctaves(hellRNG, 4);
     field_4248_a = new NoiseGeneratorOctaves(hellRNG, 10);
     field_4247_b = new NoiseGeneratorOctaves(hellRNG, 16);
 }
コード例 #2
0
ファイル: ChunkProviderHell.cs プロジェクト: geckosoft/Crafty
 public ChunkProviderHell(World world, long l)
 {
     field_4233_p = new double[256];
     field_4232_q = new double[256];
     field_4231_r = new double[256];
     field_4230_s = new MapGenCavesHell();
     field_4235_n = world;
     hellRNG      = new Random(l);
     field_4240_i = new NoiseGeneratorOctaves(hellRNG, 16);
     field_4239_j = new NoiseGeneratorOctaves(hellRNG, 16);
     field_4238_k = new NoiseGeneratorOctaves(hellRNG, 8);
     field_4237_l = new NoiseGeneratorOctaves(hellRNG, 4);
     field_4236_m = new NoiseGeneratorOctaves(hellRNG, 4);
     field_4248_a = new NoiseGeneratorOctaves(hellRNG, 10);
     field_4247_b = new NoiseGeneratorOctaves(hellRNG, 16);
 }
コード例 #3
0
 public ChunkProviderGenerate(World world, long l)
 {
     sandNoise = new double[256];
     gravelNoise = new double[256];
     stoneNoise = new double[256];
     field_695_u = new MapGenCaves();
     field_707_i = new int[32][];
     for (int i = 0; i < 32; i++)
     {
         field_707_i[i] = new int[32];
     }
     worldObj = world;
     rand = new Random(l);
     field_705_k = new NoiseGeneratorOctaves(rand, 16);
     field_704_l = new NoiseGeneratorOctaves(rand, 16);
     field_703_m = new NoiseGeneratorOctaves(rand, 8);
     field_702_n = new NoiseGeneratorOctaves(rand, 4);
     field_701_o = new NoiseGeneratorOctaves(rand, 4);
     field_715_a = new NoiseGeneratorOctaves(rand, 10);
     field_714_b = new NoiseGeneratorOctaves(rand, 16);
     mobSpawnerNoise = new NoiseGeneratorOctaves(rand, 8);
 }
コード例 #4
0
 public ChunkProviderGenerate(World world, long l)
 {
     sandNoise   = new double[256];
     gravelNoise = new double[256];
     stoneNoise  = new double[256];
     field_695_u = new MapGenCaves();
     field_707_i = new int[32][];
     for (int i = 0; i < 32; i++)
     {
         field_707_i[i] = new int[32];
     }
     worldObj        = world;
     rand            = new Random(l);
     field_705_k     = new NoiseGeneratorOctaves(rand, 16);
     field_704_l     = new NoiseGeneratorOctaves(rand, 16);
     field_703_m     = new NoiseGeneratorOctaves(rand, 8);
     field_702_n     = new NoiseGeneratorOctaves(rand, 4);
     field_701_o     = new NoiseGeneratorOctaves(rand, 4);
     field_715_a     = new NoiseGeneratorOctaves(rand, 10);
     field_714_b     = new NoiseGeneratorOctaves(rand, 16);
     mobSpawnerNoise = new NoiseGeneratorOctaves(rand, 8);
 }