Пример #1
0
 public virtual void initWorldGenSeed(long l)
 {
     worldGenSeed = l;
     if (parent != null)
     {
         parent.initWorldGenSeed(l);
     }
     worldGenSeed *= worldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
     worldGenSeed += baseSeed;
     worldGenSeed *= worldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
     worldGenSeed += baseSeed;
     worldGenSeed *= worldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
     worldGenSeed += baseSeed;
 }
Пример #2
0
 public override void initWorldGenSeed(long l)
 {
     field_35512_b.initWorldGenSeed(l);
     field_35513_c.initWorldGenSeed(l);
     base.initWorldGenSeed(l);
 }
Пример #3
0
 /**
  * Initialize layer's local worldGenSeed based on its own baseSeed and the world's global seed (passed in as an
  * argument).
  */
 public void initWorldGenSeed(long seed)
 {
     biomePatternGeneratorChain.initWorldGenSeed(seed);
     riverPatternGeneratorChain.initWorldGenSeed(seed);
 }