Fixed high grass gen in the Highland

This commit is contained in:
Matt Caughey 2014-01-20 01:05:13 -05:00
parent bce3c97c8a
commit 3c99b92488
2 changed files with 9 additions and 7 deletions

View file

@ -8,11 +8,12 @@ import net.minecraft.init.Blocks;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator; import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.BOPBlockHelper; import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.world.features.WorldGenBOPDoubleFlora;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass; import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class BiomeGenHighland extends BOPBiome public class BiomeGenHighland extends BOPBiome
{ {
private static final Height biomeHeight = new Height(0.7F, 1.2F); private static final Height biomeHeight = new Height(0.5F, 1.0F);
public BiomeGenHighland(int id) public BiomeGenHighland(int id)
{ {
@ -25,9 +26,9 @@ public class BiomeGenHighland extends BOPBiome
this.setTemperatureRainfall(0.5F, 0.5F); this.setTemperatureRainfall(0.5F, 0.5F);
this.theBiomeDecorator.treesPerChunk = -999; this.theBiomeDecorator.treesPerChunk = -999;
this.theBiomeDecorator.grassPerChunk = 25; this.theBiomeDecorator.grassPerChunk = 99;
this.bopWorldFeatures.doubleTallGrassPerChunk = 25; this.bopWorldFeatures.doubleTallGrassPerChunk = 99;
this.bopWorldFeatures.wildCarrotsPerChunk = 1; this.bopWorldFeatures.wildCarrotsPerChunk = 1;
} }
@ -36,9 +37,10 @@ public class BiomeGenHighland extends BOPBiome
{ {
HashMap<WorldGenerator, Double> grassMap = new HashMap(); HashMap<WorldGenerator, Double> grassMap = new HashMap();
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D); grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.25D);
grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D); grassMap.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.25D);
grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D); grassMap.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 0.5D);
grassMap.put(new WorldGenBOPDoubleFlora(Blocks.double_plant, Blocks.double_plant, 2, 8, 64), 1D);
return grassMap; return grassMap;
} }

View file

@ -42,7 +42,7 @@ public class BiomeGenMoor extends BOPBiome
this.bopWorldFeatures.mudPerChunk = 1; this.bopWorldFeatures.mudPerChunk = 1;
this.bopWorldFeatures.waterLakesPerChunk = 10; this.bopWorldFeatures.waterLakesPerChunk = 10;
this.bopWorldFeatures.bopFlowersPerChunk = 6; this.bopWorldFeatures.bopFlowersPerChunk = 6;
this.bopWorldFeatures.koruPerChunk = 1; this.bopWorldFeatures.koruPerChunk = 3;
this.bopWorldFeatures.generatePumpkins = false; this.bopWorldFeatures.generatePumpkins = false;
} }