use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeAMWitchwoodForest method initDecos.
@Override
public void initDecos() {
DecoShrub decoShrub = new DecoShrub();
decoShrub.setLogBlock(this.witchwoodLogBlock());
decoShrub.setLeavesBlock(this.witchwoodLeavesBlock());
decoShrub.setMaxY(110);
decoShrub.setStrengthFactor(4f);
decoShrub.setChance(6);
this.addDeco(decoShrub);
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.getDistribution().setNoiseDivisor(80f);
decoFallenTree.getDistribution().setNoiseFactor(60f);
decoFallenTree.getDistribution().setNoiseAddend(-15f);
decoFallenTree.setLogCondition(DecoFallenTree.LogCondition.NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree.setLogConditionChance(6);
decoFallenTree.setLogConditionNoise(0f);
decoFallenTree.setLogBlock(this.witchwoodLogBlock());
decoFallenTree.setLeavesBlock(this.witchwoodLeavesBlock());
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(5);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
// Grass filler.
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(128);
decoGrass.setLoops(8);
this.addDeco(decoGrass);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeATGGravelBeach method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPChaparral method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPCherryBlossomGrove method initDecos.
@Override
public void initDecos() {
DecoBoulder decoBoulder = new DecoBoulder();
decoBoulder.setBoulderBlock(Blocks.COBBLESTONE.getDefaultState());
decoBoulder.setChance(16);
decoBoulder.setMaxY(95);
this.addDeco(decoBoulder);
DecoFallenTree decoFallenTree1 = new DecoFallenTree();
decoFallenTree1.getDistribution().setNoiseDivisor(100f);
decoFallenTree1.getDistribution().setNoiseFactor(6f);
decoFallenTree1.getDistribution().setNoiseAddend(0.8f);
decoFallenTree1.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree1.setLogConditionNoise(0f);
decoFallenTree1.setLogConditionChance(16);
decoFallenTree1.setMaxY(100);
decoFallenTree1.setLogBlock(BOPBlocks.log_1.getStateFromMeta(1));
decoFallenTree1.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree1.setMinSize(3);
decoFallenTree1.setMaxSize(5);
DecoFallenTree decoFallenTree2 = new DecoFallenTree();
decoFallenTree1.getDistribution().setNoiseDivisor(100f);
decoFallenTree1.getDistribution().setNoiseFactor(6f);
decoFallenTree1.getDistribution().setNoiseAddend(0.8f);
decoFallenTree2.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree2.setLogConditionNoise(0f);
decoFallenTree2.setLogConditionChance(16);
decoFallenTree2.setMaxY(100);
decoFallenTree2.setLogBlock(Blocks.LOG.getDefaultState());
decoFallenTree2.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree2.setMinSize(3);
decoFallenTree2.setMaxSize(5);
DecoHelperRandomSplit decoHelperRandomSplit = new DecoHelperRandomSplit();
decoHelperRandomSplit.decos = new DecoBase[] { decoFallenTree2, decoFallenTree1 };
decoHelperRandomSplit.chances = new int[] { 15, 1 };
this.addDeco(decoHelperRandomSplit, this.getConfig().ALLOW_LOGS.get());
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPColdDesert method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
Aggregations