Removed emerald ore from the Canyon and Moor to balance the amount of biomes with emerald with vanilla

This commit is contained in:
Matt Caughey 2014-05-22 12:27:10 -04:00
parent cede836d59
commit 574bfc3e9b
3 changed files with 40 additions and 46 deletions

View file

@ -63,13 +63,11 @@ public class BiomeGenCanyon extends BOPBiome
int y = random.nextInt(28) + 4;
int z = chunkZ + random.nextInt(16);
//TODO: getBlock()
Block block = world.getBlock(x, y, z);
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
{
//TODO: setBlock()
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 2, 2);
}
}
}

View file

@ -67,13 +67,11 @@ public class BiomeGenMoor extends BOPBiome
int y = random.nextInt(28) + 4;
int z = chunkZ + random.nextInt(16);
//TODO: getBlock()
Block block = world.getBlock(x, y, z);
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
{
//TODO: setBlock()
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 10, 2);
}
}
}

View file

@ -67,13 +67,11 @@ public class BiomeGenCanyonRavine extends BOPSubBiome
int y = random.nextInt(28) + 4;
int z = chunkZ + random.nextInt(16);
//TODO: getBlock()
Block block = world.getBlock(x, y, z);
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
{
//TODO: setBlock()
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 2, 2);
}
}
}