use of rtg.api.world.deco.collection.DecoCollectionDesertRiver in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaSavanna method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
this.addDecoCollection(new DecoCollectionSavanna(this.getConfig().ALLOW_LOGS.get()));
}
use of rtg.api.world.deco.collection.DecoCollectionDesertRiver 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.deco.collection.DecoCollectionDesertRiver 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);
}
use of rtg.api.world.deco.collection.DecoCollectionDesertRiver in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaMesaBryce method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
DecoBoulder decoBoulder = new DecoBoulder();
decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder.setMaxY(83);
this.addDeco(decoBoulder);
DecoShrub decoShrub = new DecoShrub();
decoShrub.setLoops(3);
decoShrub.setMaxY(90);
addDeco(decoShrub);
DecoDeadBush decoDeadBush = new DecoDeadBush();
decoDeadBush.setMaxY(100);
decoDeadBush.setLoops(3);
this.addDeco(decoDeadBush);
DecoCactus decoCactus = new DecoCactus();
decoCactus.setSoilBlock(BlockUtil.getStateSand(1));
decoCactus.setLoops(18);
decoCactus.setMaxY(100);
this.addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
}
use of rtg.api.world.deco.collection.DecoCollectionDesertRiver in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaMesaPlateau method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
DecoShrub decoShrub = new DecoShrub();
decoShrub.setChance(10);
decoShrub.setStrengthFactor(3f);
addDeco(decoShrub);
DecoCactus decoCactus = new DecoCactus();
decoCactus.setStrengthFactor(25f);
decoCactus.setSoilBlock(BlockUtil.getStateSand(1));
decoCactus.setSandOnly(false);
decoCactus.setMaxRiver(0.8f);
addDeco(decoCactus, this.getConfig().ALLOW_CACTUS.get());
DecoReed decoReed = new DecoReed();
decoReed.setLoops(5);
decoReed.setMaxRiver(0.8f);
addDeco(decoReed);
DecoDeadBush decoDeadBush = new DecoDeadBush();
decoDeadBush.setStrengthFactor(5f);
addDeco(decoDeadBush);
DecoTree decoTree = new DecoTree(new WorldGenTrees(false));
decoTree.setLoops(20);
decoTree.setTreeType(DecoTree.TreeType.WORLDGEN);
decoTree.setTreeCondition(DecoTree.TreeCondition.X_DIVIDED_BY_STRENGTH);
decoTree.setDistribution(new DecoTree.Distribution(24f, 1f, 0f));
decoTree.setTreeConditionChance(0);
decoTree.setTreeConditionFloat(4f);
decoTree.setTreeConditionNoise(0f);
decoTree.setMinY(74);
addDeco(decoTree);
}
Aggregations