package com.scottkillen.mod.dendrology.world.gen.feature;

import com.google.common.base.Objects;
import com.scottkillen.mod.dendrology.world.gen.feature.ewcaly.LargeEwcalyTree;
import com.scottkillen.mod.dendrology.world.gen.feature.ewcaly.NormalEwcalyTree;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenAbstractTree;
import java.util.Random;

public class EwcalyTree extends WorldGenAbstractTree
{
    private final WorldGenAbstractTree treeGen;
    private final WorldGenAbstractTree largeTreeGen;

    public EwcalyTree(boolean isFromSapling)
    {
        super(isFromSapling);
        treeGen = new NormalEwcalyTree(isFromSapling);
        largeTreeGen = new LargeEwcalyTree(isFromSapling);
    }

    @Override
    public boolean generate(World world, Random rand, int x, int y, int z)
    {
//        if (rand.nextInt(7) > 1)
//            return treeGen.generate(world, rand, x, y, z);

        return largeTreeGen.generate(world, rand, x, y, z);
    }

    @Override
    public String toString()
    {
        return Objects.toStringHelper(this).add("treeGen", treeGen).add("largeTreeGen", largeTreeGen).toString();
    }
}

@@ -827,18 +827,16 @@
 )%0A    %7B%0A
-//
         
@@ -864,10 +864,8 @@
  1)%0A
-//
     

Fix debug code.