Fixed underground decoration, added Duckweed to more biomes

This commit is contained in:
Matt Caughey 2014-04-07 17:09:30 -04:00
parent e2009cb743
commit 2f91e75d66
12 changed files with 14 additions and 4 deletions

View file

@ -36,6 +36,7 @@ public class BiomeGenBorealForest extends BOPBiome
this.bopWorldFeatures.setFeature("shrubsPerChunk", 10);
this.bopWorldFeatures.setFeature("waterReedsPerChunk", 4);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("algaePerChunk", 2);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 50);

View file

@ -36,6 +36,7 @@ public class BiomeGenCherryBlossomGrove extends BOPBiome
this.bopWorldFeatures.setFeature("cloverPatchesPerChunk", 15);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 15);
this.bopWorldFeatures.setFeature("generatePumpkins", false);
this.bopWorldFeatures.setFeature("algaePerChunk", 2);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 15);

View file

@ -38,6 +38,7 @@ public class BiomeGenDeciduousForest extends BOPBiome
this.bopWorldFeatures.setFeature("waterReedsPerChunk", 2);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("algaePerChunk", 3);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 10);

View file

@ -47,6 +47,7 @@ public class BiomeGenRainforest extends BOPBiome
this.bopWorldFeatures.setFeature("cloverPatchesPerChunk", 20);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("seaweedPerChunk", 15);
this.bopWorldFeatures.setFeature("algaePerChunk", 2);
this.bopWorldFeatures.setFeature("generatePumpkins", false);
this.bopWorldFeatures.weightedFlowerGen.put(new WorldGenBOPFlora(BOPBlockHelper.get("flowers"), 6), 12);

View file

@ -36,6 +36,7 @@ public class BiomeGenSeasonalForest extends BOPBiome
this.bopWorldFeatures.setFeature("waterReedsPerChunk", 4);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 8);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 15);
this.bopWorldFeatures.setFeature("algaePerChunk", 3);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 8);

View file

@ -36,6 +36,7 @@ public class BiomeGenShield extends BOPBiome
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 5);
this.bopWorldFeatures.setFeature("seaweedPerChunk", 5);
this.bopWorldFeatures.setFeature("algaePerChunk", 4);
this.bopWorldFeatures.setFeature("generateStoneInGrass2", true);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 12);

View file

@ -50,6 +50,7 @@ public class BiomeGenSilkglades extends BOPBiome
this.bopWorldFeatures.setFeature("koruPerChunk", 1);
this.bopWorldFeatures.setFeature("cobwebNestsPerChunk", 2);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 15);
this.bopWorldFeatures.setFeature("algaePerChunk", 2);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 2);

View file

@ -38,6 +38,7 @@ public class BiomeGenSpruceWoods extends BOPBiome
this.bopWorldFeatures.setFeature("waterReedsPerChunk", 2);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 6);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 3);
this.bopWorldFeatures.setFeature("algaePerChunk", 2);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 100);

View file

@ -43,6 +43,7 @@ public class BiomeGenTemperateRainforest extends BOPBiome
this.bopWorldFeatures.setFeature("waterReedsPerChunk", 2);
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 15);
this.bopWorldFeatures.setFeature("seaweedPerChunk", 15);
this.bopWorldFeatures.setFeature("algaePerChunk", 5);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 25);

View file

@ -35,6 +35,7 @@ public class BiomeGenWoodland extends BOPBiome
this.bopWorldFeatures.setFeature("leafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("deadLeafPilesPerChunk", 10);
this.bopWorldFeatures.setFeature("logsPerChunk", 10);
this.bopWorldFeatures.setFeature("algaePerChunk", 3);
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 7);

View file

@ -57,7 +57,7 @@ public class WorldGenBOPUndergroundDecoration extends WorldGeneratorBOP
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randY = random.nextInt(world.getHeightValue(randX, randZ) * 2);
int randY = random.nextInt(60);
this.generate(world, random, randX, randY, randZ);
}

View file

@ -45,8 +45,8 @@ public class WorldGenFieldAssociation
associateFeature("deadLeafPilesPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("foliage"), 15, 256));
associateFeature("lavenderPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("flowers2"), 3));
associateFeature("thornsPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("plants"), 5));
associateFeature("stalagmitesPerChunk", new WorldGenBOPTallGrass(BOPBlockHelper.get("stoneFormations"), 0));
associateFeature("stalactitesPerChunk", new WorldGenBOPTallGrass(BOPBlockHelper.get("stoneFormations"), 1));
associateFeature("stalagmitesPerChunk", new WorldGenBOPUndergroundDecoration(BOPBlockHelper.get("stoneFormations"), 0));
associateFeature("stalactitesPerChunk", new WorldGenBOPUndergroundDecoration(BOPBlockHelper.get("stoneFormations"), 1));
associateFeature("desertSproutsPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("plants"), 2));
associateFeature("bromeliadsPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("flowers"), 12));
associateFeature("waterReedsPerChunk", new WorldGenWaterReeds());
@ -64,7 +64,7 @@ public class WorldGenFieldAssociation
associateFeature("sproutsPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("foliage"), 5));
associateFeature("tinyCactiPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("plants"), 12));
associateFeature("oasesPerChunk", new WorldGenWaterside(Blocks.grass, 7, Blocks.sand, Blocks.hardened_clay));
associateFeature("minersDelightPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("flowers2"), 6));
associateFeature("minersDelightPerChunk", new WorldGenBOPUndergroundDecoration(BOPBlockHelper.get("flowers2"), 6));
associateFeature("rootsPerChunk", new WorldGenBOPFlora(BOPBlockHelper.get("plants"), 15));
associateFeature("grassSplatterPerChunk", new WorldGenGrassSplatter());
associateFeature("rockpilesPerChunk", new WorldGenBOPBlob(Blocks.cobblestone, 0));