Removed emerald ore from the Canyon and Moor to balance the amount of biomes with emerald with vanilla
This commit is contained in:
parent
cede836d59
commit
574bfc3e9b
3 changed files with 40 additions and 46 deletions
|
@ -63,13 +63,11 @@ public class BiomeGenCanyon extends BOPBiome
|
||||||
int y = random.nextInt(28) + 4;
|
int y = random.nextInt(28) + 4;
|
||||||
int z = chunkZ + random.nextInt(16);
|
int z = chunkZ + random.nextInt(16);
|
||||||
|
|
||||||
//TODO: getBlock()
|
|
||||||
Block block = world.getBlock(x, y, z);
|
Block block = world.getBlock(x, y, z);
|
||||||
|
|
||||||
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
||||||
{
|
{
|
||||||
//TODO: setBlock()
|
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 2, 2);
|
||||||
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,13 +67,11 @@ public class BiomeGenMoor extends BOPBiome
|
||||||
int y = random.nextInt(28) + 4;
|
int y = random.nextInt(28) + 4;
|
||||||
int z = chunkZ + random.nextInt(16);
|
int z = chunkZ + random.nextInt(16);
|
||||||
|
|
||||||
//TODO: getBlock()
|
|
||||||
Block block = world.getBlock(x, y, z);
|
Block block = world.getBlock(x, y, z);
|
||||||
|
|
||||||
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
||||||
{
|
{
|
||||||
//TODO: setBlock()
|
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 10, 2);
|
||||||
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,13 +67,11 @@ public class BiomeGenCanyonRavine extends BOPSubBiome
|
||||||
int y = random.nextInt(28) + 4;
|
int y = random.nextInt(28) + 4;
|
||||||
int z = chunkZ + random.nextInt(16);
|
int z = chunkZ + random.nextInt(16);
|
||||||
|
|
||||||
//TODO: getBlock()
|
|
||||||
Block block = world.getBlock(x, y, z);
|
Block block = world.getBlock(x, y, z);
|
||||||
|
|
||||||
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
if (block != null && block.isReplaceableOreGen(world, x, y, z, Blocks.stone))
|
||||||
{
|
{
|
||||||
//TODO: setBlock()
|
world.setBlock(x, y, z, BOPBlockHelper.get("gemOre"), 2, 2);
|
||||||
world.setBlock(x, y, z, Blocks.emerald_ore, 0, 2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue