Beispiel #1
0
        /// <summary>
        /// Initialize layer's local worldGenSeed based on its own baseSeed and the world's global seed (passed in as an
        /// argument).
        /// </summary>
        public virtual void InitWorldGenSeed(long par1)
        {
            WorldGenSeed = par1;

            if (Parent != null)
            {
                Parent.InitWorldGenSeed(par1);
            }

            WorldGenSeed *= WorldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
            WorldGenSeed += BaseSeed;
            WorldGenSeed *= WorldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
            WorldGenSeed += BaseSeed;
            WorldGenSeed *= WorldGenSeed * 0x5851f42d4c957f2dL + 0x14057b7ef767814fL;
            WorldGenSeed += BaseSeed;
        }
 /// <summary>
 /// Initialize layer's local worldGenSeed based on its own baseSeed and the world's global seed (passed in as an
 /// argument).
 /// </summary>
 public override void InitWorldGenSeed(long par1)
 {
     Field_35512_b.InitWorldGenSeed(par1);
     Field_35513_c.InitWorldGenSeed(par1);
     base.InitWorldGenSeed(par1);
 }