Added placeholders for the Nether biomes
This commit is contained in:
parent
d72329659c
commit
d811404e07
7 changed files with 141 additions and 0 deletions
|
@ -47,6 +47,12 @@ public class Biomes
|
|||
public static Optional<? extends BiomeGenBase> moor = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> mountain = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> mysticGrove = Optional.absent();
|
||||
|
||||
public static Optional<? extends BiomeGenBase> netherGarden = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> netherDesert = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> netherLava = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> netherAbyss = Optional.absent();
|
||||
|
||||
public static Optional<? extends BiomeGenBase> oasis = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> ominousWoods = Optional.absent();
|
||||
public static Optional<? extends BiomeGenBase> orchard = Optional.absent();
|
||||
|
|
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherAbyss.java
Normal file
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherAbyss.java
Normal file
|
@ -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));
|
||||
}
|
||||
}
|
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherDesert.java
Normal file
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherDesert.java
Normal file
|
@ -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));
|
||||
}
|
||||
}
|
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherGarden.java
Normal file
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherGarden.java
Normal file
|
@ -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));
|
||||
}
|
||||
}
|
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherLava.java
Normal file
28
src/minecraft/biomesoplenty/biomes/BiomeGenNetherLava.java
Normal file
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue