use of rtg.api.world.deco.DecoGrass 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.DecoGrass in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeACDarklandsForest method initDecos.
@Override
public void initDecos() {
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree.setLogConditionNoise(0f);
decoFallenTree.setLogConditionChance(12);
decoFallenTree.setLogBlock(ACBlocks.darklands_oak_wood.getDefaultState());
decoFallenTree.setLeavesBlock(ACBlocks.darklands_oak_leaves.getDefaultState());
decoFallenTree.setMinSize(2);
decoFallenTree.setMaxSize(3);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoShrub decoShrubCustom = new DecoShrub();
decoShrubCustom.setLogBlock(ACBlocks.darklands_oak_wood.getDefaultState());
decoShrubCustom.setLeavesBlock(ACBlocks.darklands_oak_leaves.getDefaultState());
decoShrubCustom.setMaxY(110);
decoShrubCustom.setNotEqualsZeroChance(3);
decoShrubCustom.setStrengthFactor(3f);
this.addDeco(decoShrubCustom);
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(128);
decoGrass.setStrengthFactor(8f);
this.addDeco(decoGrass);
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
use of rtg.api.world.deco.DecoGrass in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBYGLushForest method initDecos.
@Override
public void initDecos() {
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.getDistribution().setNoiseDivisor(100f);
decoFallenTree.getDistribution().setNoiseFactor(6f);
decoFallenTree.getDistribution().setNoiseAddend(0.8f);
decoFallenTree.setLogCondition(NOISE_GREATER_AND_RANDOM_CHANCE);
decoFallenTree.setLogConditionNoise(0f);
decoFallenTree.setLogConditionChance(24);
decoFallenTree.setLogBlock(BlockUtil.getStateLog(2));
decoFallenTree.setLeavesBlock(BlockUtil.getStateLeaf(2));
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(6);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoBaseBiomeDecorations();
decoBaseBiomeDecorations.setMaxY(100);
this.addDeco(decoBaseBiomeDecorations);
DecoShrub decoShrubBirch = new DecoShrub();
decoShrubBirch.setLogBlock(BlockUtil.getStateLog(2));
decoShrubBirch.setLeavesBlock(BlockUtil.getStateLeaf(2));
decoShrubBirch.setMaxY(90);
decoShrubBirch.setStrengthFactor(6f);
decoShrubBirch.setChance(4);
this.addDeco(decoShrubBirch);
DecoGrass decoGrass = new DecoGrass();
decoGrass.setMaxY(100);
decoGrass.setStrengthFactor(6f);
this.addDeco(decoGrass);
}
Aggregations