use of rtg.api.world.deco.DecoJungleCacti in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPLushDesert method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
DecoBoulder decoBoulder = new DecoBoulder();
decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder.setMaxY(80);
decoBoulder.setChance(16);
decoBoulder.setStrengthFactor(1f);
this.addDeco(decoBoulder);
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.getDistribution().setNoiseDivisor(80f);
decoFallenTree.getDistribution().setNoiseFactor(60f);
decoFallenTree.getDistribution().setNoiseAddend(-15f);
decoFallenTree.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree.setLogConditionNoise(0f);
decoFallenTree.setLogConditionChance(12);
decoFallenTree.setRandomLogBlocks(new IBlockState[] { Blocks.LOG2.getStateFromMeta(1), BOPBlocks.log_3.getStateFromMeta(2), Blocks.LOG.getDefaultState() });
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(5);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoJungleCacti decoJungleCacti = new DecoJungleCacti();
decoJungleCacti.setStrengthFactor(8f);
decoJungleCacti.setMaxY(110);
this.addDeco(decoJungleCacti, this.getConfig().ALLOW_CACTUS.get());
}
Aggregations