@SideOnly(Side.CLIENT)

  /** Returns the color this block should be rendered. Used by leaves. */
  public int getRenderColor(int par1) {
    return (par1 & 3) == 1
        ? ColorizerFoliage.getFoliageColorPine()
        : ((par1 & 3) == 2
            ? ColorizerFoliage.getFoliageColorBirch()
            : ColorizerFoliage.getFoliageColorBasic());
  }
Exemple #2
0
 /** Returns the color this block should be rendered. Used by leaves. */
 public int getRenderColor(int var1) {
   return ColorizerFoliage.getFoliageColorBasic();
 }
  @Override
  @SideOnly(Side.CLIENT)
  public int getRenderColor(int meta) {

    return ColorizerFoliage.getFoliageColorBasic();
  }
Exemple #4
0
  @SideOnly(Side.CLIENT)

  /** Returns the color this block should be rendered. Used by leaves. */
  public int getRenderColor(int par1) {
    return ColorizerFoliage.getFoliageColorBasic();
  }
 /** Returns the color this block should be rendered. Used by leaves. */
 @SideOnly(Side.CLIENT)
 public int getRenderColor(int p_149741_1_) {
   return ColorizerFoliage.getFoliageColorBasic();
 }
 @SideOnly(Side.CLIENT)
 public int getBlockColor() {
   return ColorizerFoliage.getFoliageColorBasic();
 }