use of rtg.api.world.gen.feature.tree.rtg.TreeRTGPiceaPungens in project Realistic-Terrain-Generation by Team-RTG.
the class DecoCollectionForest method randomPungensTrees.
private DecoTree randomPungensTrees() {
TreeRTG piceaPungens = new TreeRTGPiceaPungens().setLogBlock(Blocks.LOG.getDefaultState()).setLeavesBlock(Blocks.LEAVES.getDefaultState()).setMinTrunkSize(2).setMaxTrunkSize(4).setMinCrownSize(5).setMaxCrownSize(8);
this.addTree(piceaPungens);
return new DecoTree(piceaPungens).setStrengthFactorForLoops(3f).setTreeType(TreeType.RTG_TREE).setTreeCondition(TreeCondition.RANDOM_CHANCE).setTreeConditionChance(5).setMaxY(100);
}
use of rtg.api.world.gen.feature.tree.rtg.TreeRTGPiceaPungens in project Realistic-Terrain-Generation by Team-RTG.
the class DecoCollectionIceTrees method randomPungensTrees.
private DecoTree randomPungensTrees() {
TreeRTG piceaPungens = new TreeRTGPiceaPungens().setLogBlock(Blocks.PACKED_ICE.getDefaultState()).setLeavesBlock(Blocks.ICE.getDefaultState()).setMinTrunkSize(2).setMaxTrunkSize(4).setMinCrownSize(4).setMaxCrownSize(8);
ArrayList<IBlockState> validBlocks = piceaPungens.getValidGroundBlocks();
validBlocks.add(Blocks.SNOW.getDefaultState());
piceaPungens.setValidGroundBlocks(validBlocks);
this.addTree(piceaPungens);
return new DecoTree(piceaPungens).setStrengthFactorForLoops(3f).setTreeType(TreeType.RTG_TREE).setTreeCondition(TreeCondition.RANDOM_CHANCE).setTreeConditionChance(8).setMaxY(100);
}
Aggregations