Skip to content

Commit

Permalink
Update OverworldInitialization.java
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed Nov 10, 2023
1 parent 055f5f9 commit 7505a33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected void initStructure() {
structureFeatures.addFeature(OverworldFunctions::generateLavaLakeFeature, null);
structureFeatures.addFeature(OverworldFunctions::generateDungeons, null);
structureFeatures.addFeature(OverworldFunctions::generateLabyrinths, null);
structureFeatures.addFeature(OverworldFunctions::generateTrees, null);
structureFeatures.addFeature(OverworldFunctions::generateRandomFluid, new Object[]{50, Block.fluidWaterFlowing.id});
structureFeatures.addFeature(OverworldFunctions::generateRandomFluid, new Object[]{20, Block.fluidLavaFlowing.id});
}
Expand Down Expand Up @@ -107,7 +108,6 @@ protected void initRandom() {
@Override
protected void initBiome() {
biomeFeatures.addFeatureSurface(new WorldFeatureRichScorchedDirt(10), 1, new Biome[]{Biomes.OVERWORLD_OUTBACK, Biomes.OVERWORLD_OUTBACK_GRASSY});
biomeFeatures.addFeature(OverworldFunctions::getTreeFeature, null, OverworldFunctions::getTreeDensity, null, -1f);
biomeFeatures.addFeatureSurface(new WorldFeatureSugarCaneTall(), 1, new Biome[]{Biomes.OVERWORLD_RAINFOREST});
biomeFeatures.addFeature(OverworldFunctions::flowerTypeCondition, null, (Parameters x) -> overworldConfig.getFlowerDensity(x.biome, 0), null, 1f);
biomeFeatures.addFeature((Parameters x) -> new WorldFeatureFlowers(Block.flowerYellow.id), null, (Parameters x) -> overworldConfig.getYellowFlowerDensity(x.biome, 0), null, 1);
Expand Down

0 comments on commit 7505a33

Please sign in to comment.