Various tweaks to biomes

This commit is contained in:
Matt Caughey 2014-03-15 16:24:20 -04:00
parent d22dbc4a94
commit 2c0aff1941
27 changed files with 168 additions and 6 deletions

View file

@ -55,6 +55,8 @@ public class BiomeGenBayou extends BOPBiome
this.bopWorldFeatures.waterReedsPerChunk = 4;
this.bopWorldFeatures.koruPerChunk = 1;
this.bopWorldFeatures.seaweedPerChunk = 15;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.deadLeafPilesPerChunk = 10;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -47,6 +47,7 @@ public class BiomeGenChaparral extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 10;
this.bopWorldFeatures.waterReedsPerChunk = 2;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -45,6 +45,8 @@ public class BiomeGenConiferousForest extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 8;
this.bopWorldFeatures.waterReedsPerChunk = 2;
this.bopWorldFeatures.cloverPatchesPerChunk = 10;
this.bopWorldFeatures.leafPilesPerChunk = 4;
this.bopWorldFeatures.deadLeafPilesPerChunk = 8;
this.bopWorldFeatures.seaweedPerChunk = 5;
}

View file

@ -42,6 +42,7 @@ public class BiomeGenConiferousForestSnow extends BOPBiome
this.bopWorldFeatures.bopFlowersPerChunk = 3;
this.bopWorldFeatures.shrubsPerChunk = 4;
this.bopWorldFeatures.deadLeafPilesPerChunk = 8;
}
@Override

View file

@ -35,6 +35,8 @@ public class BiomeGenFrostForest extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 1;
this.bopWorldFeatures.bopFlowersPerChunk = 3;
this.bopWorldFeatures.leafPilesPerChunk = 2;
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -39,6 +39,7 @@ public class BiomeGenGrove extends BOPBiome
this.bopWorldFeatures.berryBushesPerChunk = 2;
this.bopWorldFeatures.shrubsPerChunk = 3;
this.bopWorldFeatures.cloverPatchesPerChunk = 20;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -42,6 +42,7 @@ public class BiomeGenHeathland extends BOPBiome
this.bopWorldFeatures.berryBushesPerChunk = 1;
this.bopWorldFeatures.shrubsPerChunk = 5;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -35,6 +35,8 @@ public class BiomeGenJadeCliffs extends BOPBiome
this.bopWorldFeatures.bopFlowersPerChunk = 3;
this.bopWorldFeatures.wildCarrotsPerChunk = 1;
this.bopWorldFeatures.leafPilesPerChunk = 4;
this.bopWorldFeatures.deadLeafPilesPerChunk = 2;
}
@Override

View file

@ -48,6 +48,8 @@ public class BiomeGenLushDesert extends BOPBiome
this.bopWorldFeatures.waterLakesPerChunk = 5;
this.bopWorldFeatures.waterReedsPerChunk = 4;
this.bopWorldFeatures.bromeliadsPerChunk = 3;
this.bopWorldFeatures.leafPilesPerChunk = 2;
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
this.bopWorldFeatures.generateSand = true;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -51,6 +51,8 @@ public class BiomeGenOminousWoods extends BOPBiome
this.bopWorldFeatures.bopFlowersPerChunk = 1;
this.bopWorldFeatures.thornsPerChunk = 9;
this.bopWorldFeatures.poisonIvyPerChunk = 3;
this.bopWorldFeatures.leafPilesPerChunk = 2;
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
//TODO: FEATURE customBiomeDecorator.poisonWaterPerChunk = 15;
}

View file

@ -39,6 +39,7 @@ public class BiomeGenRedwoodForest extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 10;
this.bopWorldFeatures.waterReedsPerChunk = 2;
this.bopWorldFeatures.leafPilesPerChunk = 15;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.generatePumpkins = false;
}

View file

@ -35,6 +35,7 @@ public class BiomeGenSacredSprings extends BOPBiome
this.theBiomeDecorator.grassPerChunk = 4;
this.theBiomeDecorator.waterlilyPerChunk = 5;
this.bopWorldFeatures.seaweedPerChunk = 15;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.bopFlowersPerChunk = 2;
}

View file

@ -37,6 +37,7 @@ public class BiomeGenShield extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 4;
this.bopWorldFeatures.waterReedsPerChunk = 4;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.seaweedPerChunk = 5;
this.bopWorldFeatures.generateStoneInGrass2 = true;
}

View file

@ -38,6 +38,8 @@ public class BiomeGenSpruceWoods extends BOPBiome
this.bopWorldFeatures.wildCarrotsPerChunk = 1;
this.bopWorldFeatures.shrubsPerChunk = 5;
this.bopWorldFeatures.waterReedsPerChunk = 2;
this.bopWorldFeatures.leafPilesPerChunk = 6;
this.bopWorldFeatures.deadLeafPilesPerChunk = 3;
}
@Override

View file

@ -31,8 +31,8 @@ public class BiomeGenThicket extends BOPBiome
this.bopWorldFeatures.bopFlowersPerChunk = 5;
this.bopWorldFeatures.thornsPerChunk = 55;
this.bopWorldFeatures.shrubsPerChunk = 5;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.deadLeafPilesPerChunk = 10;
}
@Override

View file

@ -39,6 +39,8 @@ public class BiomeGenTundra extends BOPBiome
this.bopWorldFeatures.shrubsPerChunk = 2;
this.bopWorldFeatures.waterReedsPerChunk = 2;
this.bopWorldFeatures.rockpilesPerChunk = 25;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
}
@Override

View file

@ -63,6 +63,7 @@ public class BiomeGenWetland extends BOPBiome
this.bopWorldFeatures.cloverPatchesPerChunk = 15;
this.bopWorldFeatures.seaweedPerChunk = 15;
this.bopWorldFeatures.leafPilesPerChunk = 10;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
}
@Override

View file

@ -3,9 +3,12 @@ package biomesoplenty.common.world.forceddecorators;
import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class BirchForestForcedDecorator extends ForcedDecorator
{
@ -13,7 +16,8 @@ public class BirchForestForcedDecorator extends ForcedDecorator
{
this.bopWorldFeatures.poisonIvyPerChunk = 3;
this.bopWorldFeatures.cloverPatchesPerChunk = 15;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.leafPilesPerChunk = 4;
this.bopWorldFeatures.deadLeafPilesPerChunk = 2;
}
@Override
@ -26,4 +30,17 @@ public class BirchForestForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.25D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.25D);
return grassMap;
}
}

View file

@ -10,5 +10,6 @@ public class DesertForcedDecorator extends ForcedDecorator
public DesertForcedDecorator()
{
this.bopWorldFeatures.tinyCactiPerChunk = 10;
this.bopWorldFeatures.generateQuicksand = true;
}
}

View file

@ -3,9 +3,12 @@ package biomesoplenty.common.world.forceddecorators;
import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class ExtremeHillsForcedDecorator extends ForcedDecorator
{
@ -14,6 +17,7 @@ public class ExtremeHillsForcedDecorator extends ForcedDecorator
this.bopWorldFeatures.bopFlowersPerChunk = 3;
this.bopWorldFeatures.shrubsPerChunk = 1;
this.bopWorldFeatures.leafPilesPerChunk = 3;
this.bopWorldFeatures.deadLeafPilesPerChunk = 1;
}
@Override
@ -25,4 +29,17 @@ public class ExtremeHillsForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -4,15 +4,18 @@ import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class ForestForcedDecorator extends ForcedDecorator
{
public ForestForcedDecorator()
{
this.bopWorldFeatures.leafPilesPerChunk = 15;
this.bopWorldFeatures.deadLeafPilesPerChunk = 5;
this.bopWorldFeatures.bopFlowersPerChunk = 5;
this.bopWorldFeatures.cloverPatchesPerChunk = 5;
this.bopWorldFeatures.riverCanePerChunk = 5;
@ -33,4 +36,18 @@ public class ForestForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -3,9 +3,12 @@ package biomesoplenty.common.world.forceddecorators;
import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class JungleForcedDecorator extends ForcedDecorator
{
@ -26,4 +29,19 @@ public class JungleForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 2), 1D);
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -3,10 +3,13 @@ package biomesoplenty.common.world.forceddecorators;
import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPDoubleFlora;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class PlainsForcedDecorator extends ForcedDecorator
{
@ -26,4 +29,18 @@ public class PlainsForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -1,9 +1,14 @@
package biomesoplenty.common.world.forceddecorators;
import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class RoofedForestForcedDecorator extends ForcedDecorator
{
@ -15,4 +20,18 @@ public class RoofedForestForcedDecorator extends ForcedDecorator
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
this.bopWorldFeatures.waterReedsPerChunk = 2;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.25D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.25D);
return grassMap;
}
}

View file

@ -4,10 +4,12 @@ import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPDoubleFlora;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class SavannaForcedDecorator extends ForcedDecorator
{
@ -29,4 +31,17 @@ public class SavannaForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -4,9 +4,11 @@ import java.util.HashMap;
import java.util.Random;
import net.minecraft.init.Blocks;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.decoration.IBOPDecoration;
import biomesoplenty.common.world.features.WorldGenBOPFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class SwampForcedDecorator extends ForcedDecorator
{
@ -20,8 +22,8 @@ public class SwampForcedDecorator extends ForcedDecorator
this.bopWorldFeatures.waterReedsPerChunk = 5;
this.bopWorldFeatures.toadstoolsPerChunk = 1;
this.bopWorldFeatures.blueMilksPerChunk = 1;
this.bopWorldFeatures.leafPilesPerChunk = 5;
this.bopWorldFeatures.deadLeafPilesPerChunk = 2;
this.bopWorldFeatures.leafPilesPerChunk = 2;
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
}
@Override
@ -33,4 +35,18 @@ public class SwampForcedDecorator extends ForcedDecorator
return flowerMap;
}
@Override
public HashMap<WorldGenerator, Double> getWeightedWorldGenForGrass()
{
HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
return grassMap;
}
}

View file

@ -11,8 +11,9 @@ public class TaigaForcedDecorator extends ForcedDecorator
{
public TaigaForcedDecorator()
{
this.bopWorldFeatures.deadLeafPilesPerChunk = 2;
this.bopWorldFeatures.bopFlowersPerChunk = 2;
this.bopWorldFeatures.leafPilesPerChunk = 2;
this.bopWorldFeatures.deadLeafPilesPerChunk = 4;
}
@Override