/// <summary>
        /// Provides the basic foliage color based on the biome temperature and rainfall
        /// </summary>
        public override int GetBiomeFoliageColor()
        {
            double d  = GetFloatTemperature();
            double d1 = GetFloatRainfall();

            return(((ColorizerFoliage.GetFoliageColor(d, d1) & 0xfefefe) + 0x4e0e4e) / 2);
        }
        public override int GetBlockColor()
        {
            double d  = 0.5D;
            double d1 = 1.0D;

            return(ColorizerFoliage.GetFoliageColor(d, d1));
        }
        /// <summary>
        /// Provides the basic foliage color based on the biome temperature and rainfall
        /// </summary>
        public virtual int GetBiomeFoliageColor()
        {
            double d  = MathHelper2.Clamp_float(GetFloatTemperature(), 0.0F, 1.0F);
            double d1 = MathHelper2.Clamp_float(GetFloatRainfall(), 0.0F, 1.0F);

            return(ColorizerFoliage.GetFoliageColor(d, d1));
        }