Reverted back to the old coord setup, seems using the vanilla one breaks things

This commit is contained in:
Adubbz 2014-01-07 00:37:35 +11:00
parent 49eeb93534
commit 31f049910c
9 changed files with 23 additions and 23 deletions

View file

@ -92,7 +92,7 @@ public class BOPBiomes
/*registerBiome(new BOPBiomeListEntry(new BiomeGenHeathland(BOPConfigurationIDs.heathlandID).setBiomeName("Heathland"), BOPBiomeTemperatureType.WARM));*/
registerBiome(new BOPBiomeListEntry(new BiomeGenHighland(BOPConfigurationIDs.highlandID).setBiomeName("Highland"), BOPBiomeTemperatureType.WARM));
registerBiome(new BOPBiomeListEntry(new BiomeGenJadeCliffs(BOPConfigurationIDs.jadeCliffsID).setBiomeName("Jade Cliffs"), BOPBiomeTemperatureType.WARM));
registerOnlyBiome(new BOPBiomeListEntry(new BiomeGenLavenderFields(BOPConfigurationIDs.lavenderFieldsID).setBiomeName("Lavender Fields"), BOPBiomeTemperatureType.WARM));
registerBiome(new BOPBiomeListEntry(new BiomeGenLavenderFields(BOPConfigurationIDs.lavenderFieldsID).setBiomeName("Lavender Fields"), BOPBiomeTemperatureType.WARM));
/*registerBiome(new BOPBiomeListEntry(new BiomeGenLushDesert(BOPConfigurationIDs.lushDesertID).setBiomeName("Lush Desert"), BOPBiomeTemperatureType.HOT));
registerBiome(new BOPBiomeListEntry(new BiomeGenLushSwamp(BOPConfigurationIDs.lushSwampID).setBiomeName("Lush Swamp"), BOPBiomeTemperatureType.WARM));
registerBiome(new BOPBiomeListEntry(new BiomeGenMapleWoods(BOPConfigurationIDs.mapleWoodsID).setBiomeName("Maple Woods"), BOPBiomeTemperatureType.COOL));*/

View file

@ -32,10 +32,10 @@ public class DecorateBiomeEventHandler
Random random = event.rand;
int x = chunkX * 16;
int z = chunkZ * 16;
int x = chunkX + 8;
int z = chunkZ + 8;
BiomeGenBase biome = world.getBiomeGenForCoordsBody(x + 16, z + 16);
BiomeGenBase biome = world.getBiomeGenForCoordsBody(x, z);
IBOPDecoration bopDecoration = null;

View file

@ -63,10 +63,10 @@ public class DecorationModificationEventHandler
Random random = event.rand;
int x = chunkX * 16;
int z = chunkZ * 16;
int x = chunkX + 8;
int z = chunkZ + 8;
BiomeGenBase biome = world.getBiomeGenForCoordsBody(x + 16, z + 16);
BiomeGenBase biome = world.getBiomeGenForCoordsBody(x, z);
IBOPDecoration bopDecoration = null;
if (biome instanceof IBOPDecoration)
@ -88,9 +88,9 @@ public class DecorationModificationEventHandler
{
if (random.nextInt(4) == 0)
{
int randX = x + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randY = random.nextInt(256);
int randZ = z + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16);
(new WorldGenLakes(Blocks.water)).generate(world, random, randX, randY, randZ);
}
@ -104,9 +104,9 @@ public class DecorationModificationEventHandler
{
if (random.nextInt(8) == 0)
{
int randX = x + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randY = random.nextInt(random.nextInt(248) + 8);
int randZ = z + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16);
if (randY < 63 || random.nextInt(10) == 0)
{

View file

@ -55,8 +55,8 @@ public class WorldGenBOPFlora extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}

View file

@ -58,8 +58,8 @@ public class WorldGenBOPTallGrass extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}

View file

@ -55,8 +55,8 @@ public class WorldGenMoss extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}

View file

@ -67,8 +67,8 @@ public class WorldGenMud extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}

View file

@ -47,8 +47,8 @@ public class WorldGenRiverCane extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}

View file

@ -46,8 +46,8 @@ public class WorldGenWaterReeds extends WorldGeneratorBOP
{
for (int i = 0; i < worldGeneratorField.getInt(bopDecoration.getWorldFeatures()); i++)
{
int randX = x + random.nextInt(16) + 8;
int randZ = z + random.nextInt(16) + 8;
int randX = x + random.nextInt(16);
int randZ = z + random.nextInt(16);
worldGenerator.generate(world, random, randX, world.getTopSolidOrLiquidBlock(randX, randZ), randZ);
}