use of rtg.api.world.gen.feature.tree.rtg.TreeRTGAcaciaBucheri in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaSavannaPlateau method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
DecoBoulder decoBoulder1 = new DecoBoulder();
decoBoulder1.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder1.setMaxY(80);
decoBoulder1.setChance(24);
this.addDeco(decoBoulder1);
DecoBoulder decoBoulder2 = new DecoBoulder();
decoBoulder2.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder1.setMinY(110);
decoBoulder2.setChance(24);
this.addDeco(decoBoulder2);
DecoShrub acaciaShrub = new DecoShrub();
acaciaShrub.setLogBlock(Blocks.LOG2.getDefaultState());
acaciaShrub.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
acaciaShrub.setMaxY(160);
acaciaShrub.setStrengthFactor(3f);
acaciaShrub.setChance(9);
this.addDeco(acaciaShrub);
TreeRTG acaciaTree = new TreeRTGAcaciaBucheri();
acaciaTree.setLogBlock(Blocks.LOG2.getDefaultState());
acaciaTree.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
acaciaTree.setMinTrunkSize(12);
acaciaTree.setMaxTrunkSize(16);
this.addTree(acaciaTree);
DecoTree acaciaTrees = new DecoTree(acaciaTree);
acaciaTrees.setStrengthFactorForLoops(2f);
acaciaTrees.setTreeType(DecoTree.TreeType.RTG_TREE);
acaciaTrees.setTreeCondition(DecoTree.TreeCondition.RANDOM_CHANCE);
acaciaTrees.setTreeConditionChance(12);
acaciaTrees.setMaxY(160);
this.addDeco(acaciaTrees);
DecoCactus decoCactus = new DecoCactus();
decoCactus.setMaxY(160);
decoCactus.setLoops(60);
decoCactus.setChance(8);
this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
DecoDoubleGrass decoDoubleGrass = new DecoDoubleGrass();
decoDoubleGrass.setMaxY(128);
decoDoubleGrass.setStrengthFactor(3f);
this.addDeco(decoDoubleGrass);
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(128);
decoGrass.setStrengthFactor(10f);
this.addDeco(decoGrass);
}
use of rtg.api.world.gen.feature.tree.rtg.TreeRTGAcaciaBucheri in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaSavannaPlateauM method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
DecoBoulder decoBoulder1 = new DecoBoulder();
decoBoulder1.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder1.setMaxY(80);
decoBoulder1.setChance(24);
this.addDeco(decoBoulder1);
DecoBoulder decoBoulder2 = new DecoBoulder();
decoBoulder2.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder1.setMinY(110);
decoBoulder2.setChance(24);
this.addDeco(decoBoulder2);
DecoShrub acaciaShrub = new DecoShrub();
acaciaShrub.setLogBlock(Blocks.LOG2.getDefaultState());
acaciaShrub.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
acaciaShrub.setMaxY(160);
acaciaShrub.setStrengthFactor(3f);
acaciaShrub.setChance(9);
this.addDeco(acaciaShrub);
TreeRTG acaciaTree = new TreeRTGAcaciaBucheri();
acaciaTree.setLogBlock(Blocks.LOG2.getDefaultState());
acaciaTree.setLeavesBlock(Blocks.LEAVES2.getDefaultState());
acaciaTree.setMinTrunkSize(12);
acaciaTree.setMaxTrunkSize(16);
this.addTree(acaciaTree);
DecoTree acaciaTrees = new DecoTree(acaciaTree);
acaciaTrees.setStrengthFactorForLoops(2f);
acaciaTrees.setTreeType(DecoTree.TreeType.RTG_TREE);
acaciaTrees.setTreeCondition(DecoTree.TreeCondition.RANDOM_CHANCE);
acaciaTrees.setTreeConditionChance(12);
acaciaTrees.setMaxY(160);
this.addDeco(acaciaTrees);
DecoCactus decoCactus = new DecoCactus();
decoCactus.setMaxY(160);
decoCactus.setLoops(60);
decoCactus.setChance(8);
this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
DecoDoubleGrass decoDoubleGrass = new DecoDoubleGrass();
decoDoubleGrass.setMaxY(128);
decoDoubleGrass.setStrengthFactor(3f);
this.addDeco(decoDoubleGrass);
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(128);
decoGrass.setStrengthFactor(10f);
this.addDeco(decoGrass);
}
Aggregations