use of rtg.api.world.deco.DecoCactus 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.DecoCactus in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaMesa 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.DecoCactus in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeVanillaMesaPlateauM method initDecos.
@Override
public void initDecos() {
this.addDecoCollection(new DecoCollectionDesertRiver(this.getConfig().ALLOW_CACTUS.get()));
DecoCactus decoCactus = new DecoCactus();
decoCactus.setStrengthFactor(25f);
decoCactus.setSoilBlock(BlockUtil.getStateClay(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);
}
Aggregations