Reduced the number of trees in the Redwood Forest
This commit is contained in:
parent
a902dd3a39
commit
95810b636b
2 changed files with 4 additions and 4 deletions
|
@ -57,11 +57,11 @@ public class BiomeGenRedwoodForest extends BOPOverworldBiome
|
|||
this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(3).maxRadius(7).with(Blocks.SAND.getDefaultState()).create());
|
||||
|
||||
// trees
|
||||
GeneratorWeighted treeGenerator = new GeneratorWeighted(30.0F);
|
||||
GeneratorWeighted treeGenerator = new GeneratorWeighted(8.0F);
|
||||
this.addGenerator("trees", GeneratorStage.TREE, treeGenerator);
|
||||
treeGenerator.add("redwood", 5, (new GeneratorRedwoodTree.Builder()).log(BOPWoods.REDWOOD).leaves(BOPTrees.REDWOOD).create());
|
||||
treeGenerator.add("redwood", 1, (new GeneratorRedwoodTree.Builder()).log(BOPWoods.REDWOOD).leaves(BOPTrees.REDWOOD).create());
|
||||
treeGenerator.add("redwood_thin", 2, (new GeneratorRedwoodTreeThin.Builder()).log(BOPWoods.REDWOOD).leaves(BOPTrees.REDWOOD).create());
|
||||
treeGenerator.add("oak_bush", 1, (new GeneratorBush.Builder()).maxHeight(2).create());
|
||||
treeGenerator.add("oak_bush", 3, (new GeneratorBush.Builder()).maxHeight(2).create());
|
||||
|
||||
// flowers
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.5F);
|
||||
|
|
|
@ -147,7 +147,7 @@ public class GeneratorRedwoodTreeThin extends GeneratorTreeBase
|
|||
// Move up to space above ground
|
||||
pos = pos.up();
|
||||
|
||||
GeneratorSpike spikeGenerator = (new GeneratorSpike.Builder().with(this.log).replace(BlockQueries.anything).minRadius(2).maxRadius(2).minHeight(3).maxHeight(6).create());
|
||||
GeneratorSpike spikeGenerator = (new GeneratorSpike.Builder().with(this.log).replace(BlockQueries.anything).minRadius(2).maxRadius(2).minHeight(2).maxHeight(4).create());
|
||||
|
||||
// check that there's room and if the blocks below are suitable
|
||||
if (!spikeGenerator.canPlaceHere(world, pos, height, 2)) {return false;}
|
||||
|
|
Loading…
Reference in a new issue