Fixed the overgrown netherrack in the Undergarden

This commit is contained in:
Matt Caughey 2014-05-13 17:49:52 -04:00
parent 59ac5e71f6
commit a869bb1abc
5 changed files with 21 additions and 9 deletions

View File

@ -3,6 +3,7 @@ package biomesoplenty.common.biomes.nether;
import net.minecraft.init.Blocks;
import biomesoplenty.api.BOPBlockHelper;
import biomesoplenty.common.biomes.BOPNetherBiome;
import biomesoplenty.common.world.features.WorldGenBOPTallGrass;
public class BiomeGenUndergarden extends BOPNetherBiome
{
@ -12,16 +13,26 @@ public class BiomeGenUndergarden extends BOPNetherBiome
this.setColor(15657658);
this.topBlock = Blocks.netherrack;
this.topBlock = BOPBlockHelper.get("overgrownNetherrack");
this.fillerBlock = Blocks.netherrack;
this.bopWorldFeatures.setFeature("netherVinesPerChunk", 12);
this.bopWorldFeatures.setFeature("overgrownNetherrackPerChunk", 60);
this.theBiomeDecorator.mushroomsPerChunk = 60;
this.theBiomeDecorator.bigMushroomsPerChunk = 30;
this.bopWorldFeatures.setFeature("netherVinesPerChunk", 20);
this.bopWorldFeatures.setFeature("netherrackSplatterPerChunk", 45);
//customBiomeDecorator.gravesPerChunk = 1;
this.bopWorldFeatures.setFeature("waspHivesPerChunk", 1);
this.bopWorldFeatures.setFeature("toadstoolsPerChunk", 3);
this.bopWorldFeatures.setFeature("glowshroomsPerChunk", 1);
this.theBiomeDecorator.mushroomsPerChunk = 30;
this.theBiomeDecorator.bigMushroomsPerChunk = 30;
this.bopWorldFeatures.setFeature("bopGrassPerChunk", 30);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 0), 0.25D);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(Blocks.tallgrass, 1), 1D);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 1), 0.5D);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 2), 0.5D);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 10), 0.5D);
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPTallGrass(BOPBlockHelper.get("foliage"), 11), 0.5D);
}
}

View File

@ -3,6 +3,7 @@ package biomesoplenty.common.blocks;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.IGrowable;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.init.Blocks;

View File

@ -203,7 +203,7 @@ public class BOPBiomes
private static void registerBiomes()
{
onlyBiome = alps = registerOverworldBiome(BiomeGenAlps.class, "Alps", TemperatureType.ICY, 5);
alps = registerOverworldBiome(BiomeGenAlps.class, "Alps", TemperatureType.ICY, 5);
arctic = registerOverworldBiome(BiomeGenArctic.class, "Arctic", TemperatureType.ICY, 10);
bambooForest = registerOverworldBiome(BiomeGenBambooForest.class, "Bamboo Forest", TemperatureType.HOT, 5);
bayou = registerOverworldBiome(BiomeGenBayou.class, "Bayou", TemperatureType.WARM, 10);

View File

@ -94,7 +94,7 @@ public class BOPWorldFeatures
addFeature("boneSpinesDownPerChunk", 0);
addFeature("netherLavaLakesPerChunk", 0);
addFeature("netherVinesPerChunk", 0);
addFeature("overgrownNetherrackPerChunk", 0);
addFeature("netherrackSplatterPerChunk", 0);
addFeature("bopFlowersPerChunk", 0);
addFeature("bopGrassPerChunk", 0);

View File

@ -113,8 +113,8 @@ public class WorldGenFieldAssociation
associateFeature("boneSpinesUpPerChunk", new WorldGenBoneSpine(false));
associateFeature("boneSpinesDownPerChunk", new WorldGenBoneSpine(true));
associateFeature("netherLavaLakesPerChunk", new WorldGenLakesNether());
associateFeature("netherVinesPerChunk", new WorldGenLongVine(BOPBlockHelper.get("ivy"), 15, 30));
associateFeature("overgrownNetherrackPerChunk", new WorldGenOvergrownNetherrack());
associateFeature("netherVinesPerChunk", new WorldGenLongVine(BOPBlockHelper.get("ivy"), 15, 45));
associateFeature("netherrackSplatterPerChunk", new WorldGenSplatter(Blocks.netherrack, BOPBlockHelper.get("overgrownNetherrack")));
associateFeature("bopFlowersPerChunk", new WorldGenBOPFlowerManager());
associateFeature("bopGrassPerChunk", new WorldGenBOPGrassManager());