diff --git a/src/minecraft/biomesoplenty/api/Biomes.java b/src/minecraft/biomesoplenty/api/Biomes.java index fee247176..37026530a 100644 --- a/src/minecraft/biomesoplenty/api/Biomes.java +++ b/src/minecraft/biomesoplenty/api/Biomes.java @@ -47,6 +47,12 @@ public class Biomes public static Optional moor = Optional.absent(); public static Optional mountain = Optional.absent(); public static Optional mysticGrove = Optional.absent(); + + public static Optional netherGarden = Optional.absent(); + public static Optional netherDesert = Optional.absent(); + public static Optional netherLava = Optional.absent(); + public static Optional netherAbyss = Optional.absent(); + public static Optional oasis = Optional.absent(); public static Optional ominousWoods = Optional.absent(); public static Optional orchard = Optional.absent(); diff --git a/src/minecraft/biomesoplenty/biomes/BiomeGenNetherAbyss.java b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherAbyss.java new file mode 100644 index 000000000..538065686 --- /dev/null +++ b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherAbyss.java @@ -0,0 +1,28 @@ +package biomesoplenty.biomes; + +import biomesoplenty.configuration.BOPConfiguration; + +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.entity.monster.EntityGhast; +import net.minecraft.entity.monster.EntityMagmaCube; +import net.minecraft.entity.monster.EntityPigZombie; + +public class BiomeGenNetherAbyss extends BiomeGenBase +{ + private BiomeDecoratorBOP customBiomeDecorator; + + public BiomeGenNetherAbyss(int par1) + { + super(par1); + this.theBiomeDecorator = new BiomeDecoratorBOP(this); + this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator; + this.spawnableMonsterList.clear(); + this.spawnableCreatureList.clear(); + this.spawnableWaterCreatureList.clear(); + this.spawnableCaveCreatureList.clear(); + this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); + } +} diff --git a/src/minecraft/biomesoplenty/biomes/BiomeGenNetherDesert.java b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherDesert.java new file mode 100644 index 000000000..86d6542c8 --- /dev/null +++ b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherDesert.java @@ -0,0 +1,28 @@ +package biomesoplenty.biomes; + +import biomesoplenty.configuration.BOPConfiguration; + +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.entity.monster.EntityGhast; +import net.minecraft.entity.monster.EntityMagmaCube; +import net.minecraft.entity.monster.EntityPigZombie; + +public class BiomeGenNetherDesert extends BiomeGenBase +{ + private BiomeDecoratorBOP customBiomeDecorator; + + public BiomeGenNetherDesert(int par1) + { + super(par1); + this.theBiomeDecorator = new BiomeDecoratorBOP(this); + this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator; + this.spawnableMonsterList.clear(); + this.spawnableCreatureList.clear(); + this.spawnableWaterCreatureList.clear(); + this.spawnableCaveCreatureList.clear(); + this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); + } +} diff --git a/src/minecraft/biomesoplenty/biomes/BiomeGenNetherGarden.java b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherGarden.java new file mode 100644 index 000000000..240fb0d32 --- /dev/null +++ b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherGarden.java @@ -0,0 +1,28 @@ +package biomesoplenty.biomes; + +import biomesoplenty.configuration.BOPConfiguration; + +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.entity.monster.EntityGhast; +import net.minecraft.entity.monster.EntityMagmaCube; +import net.minecraft.entity.monster.EntityPigZombie; + +public class BiomeGenNetherGarden extends BiomeGenBase +{ + private BiomeDecoratorBOP customBiomeDecorator; + + public BiomeGenNetherGarden(int par1) + { + super(par1); + this.theBiomeDecorator = new BiomeDecoratorBOP(this); + this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator; + this.spawnableMonsterList.clear(); + this.spawnableCreatureList.clear(); + this.spawnableWaterCreatureList.clear(); + this.spawnableCaveCreatureList.clear(); + this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); + } +} diff --git a/src/minecraft/biomesoplenty/biomes/BiomeGenNetherLava.java b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherLava.java new file mode 100644 index 000000000..6b0dccc88 --- /dev/null +++ b/src/minecraft/biomesoplenty/biomes/BiomeGenNetherLava.java @@ -0,0 +1,28 @@ +package biomesoplenty.biomes; + +import biomesoplenty.configuration.BOPConfiguration; + +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraft.world.biome.SpawnListEntry; +import net.minecraft.entity.monster.EntityGhast; +import net.minecraft.entity.monster.EntityMagmaCube; +import net.minecraft.entity.monster.EntityPigZombie; + +public class BiomeGenNetherLava extends BiomeGenBase +{ + private BiomeDecoratorBOP customBiomeDecorator; + + public BiomeGenNetherLava(int par1) + { + super(par1); + this.theBiomeDecorator = new BiomeDecoratorBOP(this); + this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator; + this.spawnableMonsterList.clear(); + this.spawnableCreatureList.clear(); + this.spawnableWaterCreatureList.clear(); + this.spawnableCaveCreatureList.clear(); + this.spawnableMonsterList.add(new SpawnListEntry(EntityGhast.class, 50, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityPigZombie.class, 100, 4, 4)); + this.spawnableMonsterList.add(new SpawnListEntry(EntityMagmaCube.class, 1, 4, 4)); + } +} diff --git a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java index e969730a8..8b0723dcf 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java +++ b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java @@ -104,6 +104,12 @@ public class BOPBiomes { Biomes.moor = Optional.of((new BiomeGenMoor(BOPConfiguration.moorID)).setColor(16421912).setBiomeName("Moor").setTemperatureRainfall(0.5F, 1.0F).setMinMaxHeight(0.7F, 0.8F)); Biomes.mountain = Optional.of((new BiomeGenMountain(BOPConfiguration.mountainID)).setColor(14090235).setBiomeName("Mountain").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(1.2F, 1.2F)); Biomes.mysticGrove = Optional.of((new BiomeGenMysticGrove(BOPConfiguration.mysticGroveID)).setColor(353825).setBiomeName("Mystic Grove").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.9F, 1.0F)); + + Biomes.netherGarden = Optional.of((new BiomeGenNetherGarden(BOPConfiguration.netherGardenID)).setColor(16711680).setBiomeName("Undergarden").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)); + Biomes.netherDesert = Optional.of((new BiomeGenNetherDesert(BOPConfiguration.netherDesertID)).setColor(16711680).setBiomeName("Corrupted Sands").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)); + Biomes.netherLava = Optional.of((new BiomeGenNetherLava(BOPConfiguration.netherLavaID)).setColor(16711680).setBiomeName("Phantasmagoric Inferno").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)); + Biomes.netherAbyss = Optional.of((new BiomeGenNetherAbyss(BOPConfiguration.netherAbyssID)).setColor(16711680).setBiomeName("Aphotic Abyss").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)); + Biomes.oasis = Optional.of((new BiomeGenOasis(BOPConfiguration.oasisID)).setColor(16421912).setBiomeName("Oasis").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.2F)); Biomes.ominousWoods = Optional.of((new BiomeGenOminousWoods(BOPConfiguration.ominousWoodsID)).setColor(353825).setBiomeName("Ominous Woods").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.9F)); Biomes.orchard = Optional.of((new BiomeGenOrchard(BOPConfiguration.orchardID)).setColor(9286496).setBiomeName("Orchard").setTemperatureRainfall(0.8F, 0.4F)); @@ -190,6 +196,12 @@ public class BOPBiomes { BiomeDictionary.registerBiomeType(Biomes.moor.get(), Type.PLAINS, Type.HILLS); BiomeDictionary.registerBiomeType(Biomes.mountain.get(), Type.MOUNTAIN, Type.HILLS); BiomeDictionary.registerBiomeType(Biomes.mysticGrove.get(), Type.MAGICAL, Type.FOREST); + + BiomeDictionary.registerBiomeType(Biomes.netherGarden.get(), Type.NETHER, Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.netherDesert.get(), Type.NETHER, Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.netherLava.get(), Type.NETHER); + BiomeDictionary.registerBiomeType(Biomes.netherAbyss.get(), Type.NETHER); + BiomeDictionary.registerBiomeType(Biomes.oasis.get(), Type.DESERT, Type.PLAINS); BiomeDictionary.registerBiomeType(Biomes.ominousWoods.get(), Type.MAGICAL); BiomeDictionary.registerBiomeType(Biomes.orchard.get(), Type.FOREST, Type.PLAINS); diff --git a/src/minecraft/biomesoplenty/configuration/BOPConfiguration.java b/src/minecraft/biomesoplenty/configuration/BOPConfiguration.java index 6e759a4ef..f9f656e87 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPConfiguration.java +++ b/src/minecraft/biomesoplenty/configuration/BOPConfiguration.java @@ -267,6 +267,12 @@ public class BOPConfiguration { public static int moorID; public static int mountainID; public static int mysticGroveID; + + public static int netherGardenID; + public static int netherDesertID; + public static int netherLavaID; + public static int netherAbyssID; + public static int oasisID; public static int ominousWoodsID; public static int orchardID; @@ -724,6 +730,11 @@ public class BOPConfiguration { //23-79 ExtraBiomesXL + netherGardenID = config.get("Biome IDs", "Undergarden (Nether) ID", 76).getInt(); + netherDesertID = config.get("Biome IDs", "Corrupted Sands (Nether) ID", 77).getInt(); + netherLavaID = config.get("Biome IDs", "Phantasmagoric Inferno (Nether) ID", 78).getInt(); + netherAbyssID = config.get("Biome IDs", "Aphotic Abyss (Nether) ID", 79).getInt(); + //80-169 Better World Generation 4 promisedLandForestID = config.get("Biome IDs", "Wonderous Woods (Promised Land) ID", 170).getInt();