/// <summary>
 /// Returns the color this block should be rendered. Used by leaves.
 /// </summary>
 public override int GetRenderColor(int par1)
 {
     if (par1 == 0)
     {
         return(0xffffff);
     }
     else
     {
         return(ColorizerFoliage.GetFoliageColorBasic());
     }
 }
        /// <summary>
        /// Returns the color this block should be rendered. Used by leaves.
        /// </summary>
        public override int GetRenderColor(int par1)
        {
            if ((par1 & 3) == 1)
            {
                return(ColorizerFoliage.GetFoliageColorPine());
            }

            if ((par1 & 3) == 2)
            {
                return(ColorizerFoliage.GetFoliageColorBirch());
            }
            else
            {
                return(ColorizerFoliage.GetFoliageColorBasic());
            }
        }
Exemplo n.º 3
0
 /// <summary>
 /// Returns the color this block should be rendered. Used by leaves.
 /// </summary>
 public override int GetRenderColor(int par1)
 {
     return(ColorizerFoliage.GetFoliageColorBasic());
 }
Exemplo n.º 4
0
 public override int GetBlockColor()
 {
     return(ColorizerFoliage.GetFoliageColorBasic());
 }