From 53246146156ae7f0095a049306368b3f7a62cea2 Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Fri, 7 Jun 2013 12:45:13 -0400 Subject: [PATCH] Fix Glob spawning. Fixed some stuff with decoration for the Overgrown Beach. --- .../biomesoplenty/biomes/BiomeGenBeachOvergrown.java | 6 +++--- src/minecraft/biomesoplenty/configuration/BOPBiomes.java | 2 +- .../biomesoplenty/configuration/BOPEntities.java | 8 ++++---- .../biomesoplenty/worldgen/WorldGenChaparral2.java | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/minecraft/biomesoplenty/biomes/BiomeGenBeachOvergrown.java b/src/minecraft/biomesoplenty/biomes/BiomeGenBeachOvergrown.java index 8639ee54f..4348c9d2d 100644 --- a/src/minecraft/biomesoplenty/biomes/BiomeGenBeachOvergrown.java +++ b/src/minecraft/biomesoplenty/biomes/BiomeGenBeachOvergrown.java @@ -22,10 +22,10 @@ public class BiomeGenBeachOvergrown extends BiomeGenBase spawnableCreatureList.clear(); topBlock = (byte)Block.sand.blockID; fillerBlock = (byte)Block.sand.blockID; - theBiomeDecorator.treesPerChunk = 32; - theBiomeDecorator.deadBushPerChunk = 3; + customBiomeDecorator.treesPerChunk = 16; + customBiomeDecorator.deadBushPerChunk = 3; customBiomeDecorator.duneGrassPerChunk = 25; - theBiomeDecorator.cactiPerChunk = 10; + customBiomeDecorator.cactiPerChunk = 5; customBiomeDecorator.outbackPerChunk = 7; } diff --git a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java index 07ced1a3c..970bdfb53 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java +++ b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java @@ -164,7 +164,7 @@ public class BOPBiomes { Biomes.bayou = Optional.of((new BiomeGenBayou(BOPConfiguration.bayouID)).setColor(522674).setBiomeName("Bayou").func_76733_a(9154376).setMinMaxHeight(-0.3F, 0.2F).setTemperatureRainfall(0.5F, 0.9F)); Biomes.beachGravel = Optional.of((new BiomeGenBeachGravel(BOPConfiguration.beachGravelID)).setColor(16440917).setBiomeName("Gravel Beach").setTemperatureRainfall(0.2F, 0.8F).setMinMaxHeight(0.0F, 0.1F)); - Biomes.beachOvergrown = Optional.of((new BiomeGenBeachOvergrown(BOPConfiguration.beachOvergrownID)).setColor(16440917).setBiomeName("Overgrown Beach").setTemperatureRainfall(0.5F, 0.9F).setMinMaxHeight(0.0F, 0.1F)); + Biomes.beachOvergrown = Optional.of((new BiomeGenBeachOvergrown(BOPConfiguration.beachOvergrownID)).setColor(16440917).setBiomeName("Overgrown Beach").setTemperatureRainfall(0.8F, 0.5F).setMinMaxHeight(0.0F, 0.1F)); Biomes.birchForest = Optional.of((new BiomeGenBirchForest(BOPConfiguration.birchForestID)).setColor(353825).setBiomeName("Birch Forest").func_76733_a(5159473).setTemperatureRainfall(0.4F, 0.3F)); Biomes.bog = Optional.of((new BiomeGenBog(BOPConfiguration.bogID)).setColor(522674).setBiomeName("Bog").func_76733_a(9154376).setMinMaxHeight(-0.1F, 0.1F).setTemperatureRainfall(0.8F, 0.9F)); diff --git a/src/minecraft/biomesoplenty/configuration/BOPEntities.java b/src/minecraft/biomesoplenty/configuration/BOPEntities.java index 3955b644c..9231389be 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPEntities.java +++ b/src/minecraft/biomesoplenty/configuration/BOPEntities.java @@ -50,14 +50,14 @@ public class BOPEntities { registerEntityEgg(EntityRosester.class, 14831439, 16756224); registerEntityEgg(EntityGlob.class, 6836276, 8414787); - if (Biomes.jungleNew.isPresent() && Biomes.tropicalRainforest.isPresent() && Biomes.oasis.isPresent() && Biomes.tropics.isPresent()) + if (Biomes.bambooForest.isPresent() && Biomes.jungleNew.isPresent() && Biomes.tropicalRainforest.isPresent() && Biomes.oasis.isPresent() && Biomes.tropics.isPresent()) { - EntityRegistry.addSpawn(EntityJungleSpider.class, 8, 1, 3, EnumCreatureType.monster, Biomes.jungleNew.get(), Biomes.tropicalRainforest.get(), Biomes.oasis.get(), Biomes.tropics.get()); + EntityRegistry.addSpawn(EntityJungleSpider.class, 8, 1, 3, EnumCreatureType.monster, Biomes.bambooForest.get(), Biomes.jungleNew.get(), Biomes.tropicalRainforest.get(), Biomes.oasis.get(), Biomes.tropics.get()); } - if (Biomes.bog.isPresent() && Biomes.deadSwamp.isPresent() && Biomes.fen.isPresent() && Biomes.moor.isPresent() && Biomes.quagmire.isPresent() && Biomes.swamplandNew.isPresent()) + if (Biomes.bog.isPresent() && Biomes.deadSwamp.isPresent() && Biomes.fen.isPresent() && Biomes.moor.isPresent() && Biomes.quagmire.isPresent() && Biomes.sludgepit.isPresent() && Biomes.swamplandNew.isPresent()) { - EntityRegistry.addSpawn(EntityJungleSpider.class, 1, 1, 1, EnumCreatureType.creature, Biomes.bog.get(), Biomes.deadSwamp.get(), Biomes.fen.get(), Biomes.moor.get(), Biomes.quagmire.get(), Biomes.swamplandNew.get()); + EntityRegistry.addSpawn(EntityGlob.class, 1, 1, 1, EnumCreatureType.creature, Biomes.bog.get(), Biomes.deadSwamp.get(), Biomes.fen.get(), Biomes.moor.get(), Biomes.quagmire.get(), Biomes.sludgepit.get(), Biomes.swamplandNew.get()); } if (Biomes.garden.isPresent()) diff --git a/src/minecraft/biomesoplenty/worldgen/WorldGenChaparral2.java b/src/minecraft/biomesoplenty/worldgen/WorldGenChaparral2.java index ca5a0e17f..523f52bfd 100644 --- a/src/minecraft/biomesoplenty/worldgen/WorldGenChaparral2.java +++ b/src/minecraft/biomesoplenty/worldgen/WorldGenChaparral2.java @@ -18,7 +18,7 @@ public class WorldGenChaparral2 extends WorldGenerator int var6 = var1.getBlockId(var3, var4, var5); - if (var6 != Block.grass.blockID) + if (var6 != Block.grass.blockID && var6 != Block.sand.blockID) return false; else {