/*
* tree = new WorldGenBigAutumnTree(true, AutumnTreeType.PURPLE);
* ((WorldGenBigAutumnTree)tree).setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
*/
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenAutumnTree worldGen = new WorldGenAutumnTree(false, BROWN);
WorldGenAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 10);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenBigAutumnTree worldGen = new WorldGenBigAutumnTree(false, BROWN);
WorldGenBigAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 90);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenAutumnTree worldGen = new WorldGenAutumnTree(false, ORANGE);
WorldGenAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 10);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenBigAutumnTree worldGen = new WorldGenBigAutumnTree(false, ORANGE);
WorldGenBigAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 90);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenAutumnTree worldGen = new WorldGenAutumnTree(false, PURPLE);
WorldGenAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 10);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenBigAutumnTree worldGen = new WorldGenBigAutumnTree(false, PURPLE);
WorldGenBigAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 90);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenAutumnTree worldGen = new WorldGenAutumnTree(false, YELLOW);
WorldGenAutumnTree.setTrunkBlock(Block.getBlockFromItem(Element.LOG_AUTUMN.get().getItem()), Element.LOG_AUTUMN.get().getItemDamage());
return worldGen.generate(world, rand, x, y, z);
}
}, 10);
addWeightedTreeGenForBiome(biome.get(), new WorldGenAbstractTree(false)
{
@Override
public boolean generate(World world, Random rand, int x, int y, int z)
{
final WorldGenBigAutumnTree worldGen = new WorldGenBigAutumnTree(false, YELLOW);