diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BOPBiome.java b/src/main/java/biomesoplenty/common/biome/overworld/BOPBiome.java index 8dd9a40b1..7643699d3 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BOPBiome.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BOPBiome.java @@ -95,7 +95,7 @@ public class BOPBiome extends Biome implements IExtendedBiome IBlockPosQuery suitableStonePosition = BlockQuery.buildAnd().withAltitudeBetween(0, 55).blocks(Blocks.STONE).create(); this.addGenerator("miners_delight", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(0.25F).generationAttempts(64).with(BOPFlowers.MINERS_DELIGHT).placeOn(suitableStonePosition).scatterYMethod(ScatterYMethod.BELOW_GROUND).create()); this.addGenerator("glowshrooms", GeneratorStage.FLOWERS,(new GeneratorFlora.Builder()).amountPerChunk(1.5F).generationAttempts(64).placeOn(suitableStonePosition).with(BOPBlocks.mushroom.getDefaultState().withProperty(BlockBOPMushroom.VARIANT, BlockBOPMushroom.MushroomType.GLOWSHROOM)).scatterYMethod(ScatterYMethod.BELOW_GROUND).create()); - this.addGenerator("stone_formations", GeneratorStage.FLOWERS,(new GeneratorColumns.Builder()).amountPerChunk(30.0F).generationAttempts(32).placeOn(suitableStonePosition).with(BOPBlocks.stone_formations.getDefaultState()).minHeight(1).maxHeight(7).randomDirection(true).scatterYMethod(ScatterYMethod.BELOW_GROUND).create()); + this.addGenerator("stone_formations", GeneratorStage.FLOWERS,(new GeneratorColumns.Builder()).amountPerChunk(30.0F).generationAttempts(32).placeOn(suitableStonePosition).with(BOPBlocks.stone_formations.getDefaultState()).minHeight(1).maxHeight(5).randomDirection(true).scatterYMethod(ScatterYMethod.BELOW_GROUND).create()); } public BOPBiome(String idName, PropsBuilder defaultBuilder) diff --git a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenQuagmire.java b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenQuagmire.java index 165a2147c..be7baa757 100644 --- a/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenQuagmire.java +++ b/src/main/java/biomesoplenty/common/biome/overworld/BiomeGenQuagmire.java @@ -97,7 +97,7 @@ public class BiomeGenQuagmire extends BOPBiome this.addGenerator("small_lily", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(0.2F).with(BlockBOPLilypad.LilypadType.SMALL).create()); this.addGenerator("tiny_lily", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(0.3F).with(BlockBOPLilypad.LilypadType.TINY).create()); this.addGenerator("algae", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(0.1F).replace(Blocks.WATER).with(BOPBlocks.coral.getDefaultState().withProperty(BlockBOPCoral.VARIANT, BlockBOPCoral.CoralType.ALGAE)).scatterYMethod(ScatterYMethod.AT_GROUND).create()); - this.addGenerator("water_reeds", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(0.6F).with(BOPPlants.REED).generationAttempts(32).create()); + this.addGenerator("water_reeds", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(2.0F).with(BOPPlants.REED).generationAttempts(32).create()); // gem this.addGenerator("malachite", GeneratorStage.SAND, (new GeneratorOreSingle.Builder()).amountPerChunk(12).with(BOPGems.MALACHITE).create()); diff --git a/src/main/java/biomesoplenty/common/world/generator/GeneratorColumns.java b/src/main/java/biomesoplenty/common/world/generator/GeneratorColumns.java index fc8c3abc4..19a8e250e 100644 --- a/src/main/java/biomesoplenty/common/world/generator/GeneratorColumns.java +++ b/src/main/java/biomesoplenty/common/world/generator/GeneratorColumns.java @@ -81,7 +81,7 @@ public class GeneratorColumns extends GeneratorReplacing if (this.randomDirection == true) { - int randDirection = rand.nextInt(1); + int randDirection = rand.nextInt(3); if (randDirection == 0) { @@ -115,7 +115,7 @@ public class GeneratorColumns extends GeneratorReplacing int targetHeight = GeneratorUtils.nextIntBetween(rand, this.minHeight, this.maxHeight); // keep placing blocks upwards (if there's room) - for (int height = targetHeight; height >= 0 && replace.matches(world, genPos); height++) + for (int height = 0; height <= targetHeight && replace.matches(world, genPos); height++) { if (this.with.getBlock().canPlaceBlockAt(world, genPos)) {