Added Koru world gen

This commit is contained in:
Matt Caughey 2013-10-20 14:05:23 -04:00
parent de32e46f60
commit 7617d34735
15 changed files with 28 additions and 3 deletions

View file

@ -236,6 +236,7 @@ public class BiomeDecoratorBOP extends BiomeDecorator
public WorldGenerator minersDelightGen;
public WorldGenerator icyIrisGen;
public WorldGenerator redwoodShrubGen;
public WorldGenerator koruGen;
public WorldGenerator boneSpineGen;
public WorldGenerator boneSpine2Gen;
@ -334,6 +335,7 @@ public class BiomeDecoratorBOP extends BiomeDecorator
public int icyIrisPerChunk;
public int waterReedsPerChunk;
public int redwoodShrubsPerChunk;
public int koruPerChunk;
public int boneSpinesPerChunk;
public int boneSpines2PerChunk;
@ -540,6 +542,7 @@ public class BiomeDecoratorBOP extends BiomeDecorator
algaeGen = new WorldGenAlgae();
waterReedGen = new WorldGenWaterReeds();
redwoodShrubGen = new WorldGenRedwoodShrub(0,0);
koruGen = new WorldGenTallGrass(Blocks.foliage.get().blockID, 12);
pitGen = new WorldGenPit(Blocks.ash.get().blockID);
waterlilyPerChunk = 0;
lilyflowersPerChunk = 0;
@ -633,6 +636,7 @@ public class BiomeDecoratorBOP extends BiomeDecorator
icyIrisPerChunk = 0;
waterReedsPerChunk = 0;
redwoodShrubsPerChunk = 0;
koruPerChunk = 0;
generateLakes = true;
generateAsh = false;
generateMycelium = false;
@ -1301,6 +1305,14 @@ public class BiomeDecoratorBOP extends BiomeDecorator
shrubGen.generate(currentWorld, randomGenerator, var3, var4, var5);
}
for (var2 = 0; var2 < koruPerChunk; ++var2)
{
var3 = chunk_X + randomGenerator.nextInt(16) + 8;
var4 = randomGenerator.nextInt(256);
var5 = chunk_Z + randomGenerator.nextInt(16) + 8;
koruGen.generate(currentWorld, randomGenerator, var3, var4, var5);
}
for (var2 = 0; var2 < wheatGrassPerChunk; ++var2)
{
var3 = chunk_X + randomGenerator.nextInt(16) + 8;

View file

@ -43,6 +43,7 @@ public class BiomeGenBayou extends BiomeGenBase
customBiomeDecorator.shrubsPerChunk = 2;
customBiomeDecorator.wheatGrassPerChunk = 7;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.generatePumpkins = false;
waterColorMultiplier = 16767282;
spawnableWaterCreatureList.clear();

View file

@ -41,6 +41,7 @@ public class BiomeGenBog extends BiomeGenBase
customBiomeDecorator.wheatGrassPerChunk = 3;
customBiomeDecorator.poisonWaterPerChunk = 2;
customBiomeDecorator.waterReedsPerChunk = 8;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 10;
customBiomeDecorator.generatePumpkins = false;
}

View file

@ -33,6 +33,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase
customBiomeDecorator.reedsBOPPerChunk = 2;
customBiomeDecorator.wheatGrassPerChunk = 10;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.koruPerChunk = 1;
spawnableCreatureList.clear();
spawnableWaterCreatureList.clear();
waterColorMultiplier = 10661201;

View file

@ -42,6 +42,7 @@ public class BiomeGenFen extends BiomeGenBase
customBiomeDecorator.portobellosPerChunk = 1;
customBiomeDecorator.wheatGrassPerChunk = 8;
customBiomeDecorator.waterReedsPerChunk = 10;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 7;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}

View file

@ -28,9 +28,9 @@ public class BiomeGenFungiForest extends BiomeGenBase
theBiomeDecorator = new BiomeDecoratorBOP(this);
customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
customBiomeDecorator.treesPerChunk = 8;
customBiomeDecorator.grassPerChunk = 6;
customBiomeDecorator.grassPerChunk = 4;
customBiomeDecorator.sproutsPerChunk = 2;
customBiomeDecorator.bushesPerChunk = 2;
customBiomeDecorator.bushesPerChunk = 1;
customBiomeDecorator.highGrassPerChunk = 1;
customBiomeDecorator.mushroomsPerChunk = 8;
customBiomeDecorator.bigMushroomsPerChunk = 8;
@ -45,7 +45,8 @@ public class BiomeGenFungiForest extends BiomeGenBase
customBiomeDecorator.lilyflowersPerChunk = 2;
customBiomeDecorator.carrotsPerChunk = 1;
customBiomeDecorator.wheatGrassPerChunk = 3;
customBiomeDecorator.shrubsPerChunk = 5;
customBiomeDecorator.shrubsPerChunk = 2;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.generateMycelium = true;
customBiomeDecorator.generatePumpkins = true;
waterColorMultiplier = 65326;

View file

@ -34,6 +34,7 @@ public class BiomeGenLushSwamp extends BiomeGenBase
customBiomeDecorator.poisonWaterPerChunk = 2;
customBiomeDecorator.carrotsPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 5;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.waterReedsPerChunk = 6;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
}

View file

@ -34,6 +34,7 @@ public class BiomeGenMarsh extends BiomeGenBase
customBiomeDecorator.sandPerChunk2 = -999;
customBiomeDecorator.mudPerChunk = 1;
customBiomeDecorator.mudPerChunk2 = 1;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.waterReedsPerChunk = 10;
customBiomeDecorator.generatePumpkins = false;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));

View file

@ -33,6 +33,7 @@ public class BiomeGenMoor extends BiomeGenBase
customBiomeDecorator.waterLakesPerChunk = 10;
customBiomeDecorator.blueFlowersPerChunk = 6;
customBiomeDecorator.wheatGrassPerChunk = 7;
customBiomeDecorator.koruPerChunk = 1;
waterColorMultiplier = 5800566;
customBiomeDecorator.generatePumpkins = false;
}

View file

@ -32,6 +32,7 @@ public class BiomeGenQuagmire extends BiomeGenBase
customBiomeDecorator.sandPerChunk2 = -999;
customBiomeDecorator.wheatGrassPerChunk = 3;
customBiomeDecorator.waterReedsPerChunk = 2;
customBiomeDecorator.koruPerChunk = 1;
waterColorMultiplier = 13390080;
customBiomeDecorator.generateQuagmire = true;
}

View file

@ -40,6 +40,7 @@ public class BiomeGenSilkglades extends BiomeGenBase
customBiomeDecorator.poisonIvyPerChunk = 2;
customBiomeDecorator.cobwebsPerChunk = 9;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.koruPerChunk = 1;
customBiomeDecorator.generatePumpkins = true;
waterColorMultiplier = 16777079;
spawnableWaterCreatureList.clear();

View file

@ -40,6 +40,7 @@ public class BiomeGenSludgepit extends BiomeGenBase
customBiomeDecorator.algaePerChunk = 2;
customBiomeDecorator.poisonWaterPerChunk = 5;
customBiomeDecorator.waterReedsPerChunk = 6;
customBiomeDecorator.koruPerChunk = 1;
spawnableCreatureList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
waterColorMultiplier = 11506176;
}

View file

@ -46,6 +46,7 @@ public class BiomeGenWetland extends BiomeGenBase
customBiomeDecorator.berryBushesPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 10;
customBiomeDecorator.waterReedsPerChunk = 8;
customBiomeDecorator.koruPerChunk = 1;
spawnableCreatureList.clear();
spawnableWaterCreatureList.clear();
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));

View file

@ -40,6 +40,7 @@ public class BiomeGenSwampNew extends BiomeGenBase
customBiomeDecorator.mudPerChunk2 = 9;
customBiomeDecorator.portobellosPerChunk = 1;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.koruPerChunk = 1;
waterColorMultiplier = 14745456;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 291 B