use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPSeasonalForest 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(RANDOM_CHANCE);
decoFallenTree.setLogConditionChance(6);
decoFallenTree.setRandomLogBlocks(new IBlockState[] { BlockUtil.getStateLog2(1), Blocks.LOG.getDefaultState(), BlockUtil.getStateLog(2) });
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(4);
this.addDeco(decoFallenTree, this.getConfig().ALLOW_LOGS.get());
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPShield 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 decoFallenTree1 = new DecoFallenTree();
decoFallenTree1.getDistribution().setNoiseDivisor(80f);
decoFallenTree1.getDistribution().setNoiseFactor(60f);
decoFallenTree1.getDistribution().setNoiseAddend(-15f);
decoFallenTree1.setLogCondition(RANDOM_CHANCE);
decoFallenTree1.setLogConditionNoise(0f);
decoFallenTree1.setLogConditionChance(6);
decoFallenTree1.setMaxY(100);
decoFallenTree1.setLogBlock(BOPBlocks.log_2.getStateFromMeta(6));
decoFallenTree1.setLeavesBlock(Blocks.LEAVES.getDefaultState());
decoFallenTree1.setMinSize(3);
decoFallenTree1.setMaxSize(4);
DecoFallenTree decoFallenTree2 = new DecoFallenTree();
decoFallenTree2.getDistribution().setNoiseDivisor(80f);
decoFallenTree2.getDistribution().setNoiseFactor(60f);
decoFallenTree2.getDistribution().setNoiseAddend(-15f);
decoFallenTree2.setLogCondition(RANDOM_CHANCE);
decoFallenTree2.setLogConditionNoise(0f);
decoFallenTree2.setLogConditionChance(6);
decoFallenTree2.setMaxY(100);
decoFallenTree2.setLogBlock(BlockUtil.getStateLog(1));
decoFallenTree2.setLeavesBlock(BlockUtil.getStateLeaf(1));
decoFallenTree2.setMinSize(3);
decoFallenTree2.setMaxSize(4);
DecoHelper5050 decoHelperHelper5050 = new DecoHelper5050(decoFallenTree1, decoFallenTree2);
this.addDeco(decoHelperHelper5050, this.getConfig().ALLOW_LOGS.get());
}
use of rtg.api.world.deco.DecoBaseBiomeDecorations in project Realistic-Terrain-Generation by Team-RTG.
the class RealisticBiomeBOPShrubland 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 RealisticBiomeBOPMapleWoods method initDecos.
@Override
public void initDecos() {
DecoFallenTree decoFallenTree = new DecoFallenTree();
decoFallenTree.getDistribution().setNoiseDivisor(80f);
decoFallenTree.getDistribution().setNoiseFactor(60f);
decoFallenTree.getDistribution().setNoiseAddend(-15f);
decoFallenTree.setLogCondition(X_DIVIDED_BY_STRENGTH);
decoFallenTree.setLogConditionNoise(8f);
decoFallenTree.setLogConditionChance(1);
decoFallenTree.setRandomLogBlocks(new IBlockState[] { Blocks.LOG.getDefaultState(), BlockUtil.getStateLog(1) });
decoFallenTree.setMinSize(3);
decoFallenTree.setMaxSize(6);
this.addDeco(decoFallenTree, 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 RealisticBiomeBOPMoor method initDecos.
@Override
public void initDecos() {
DecoBaseBiomeDecorations decoBaseBiomeDecorations = new DecoSingleBiomeDecorations();
this.addDeco(decoBaseBiomeDecorations);
}
Aggregations