// canSpawnStructureAtCoords
@Override
protected boolean a(int chunkX, int chunkZ)
{
Random rand = b;
World worldMC = c;
if (rand.nextInt(80) < Math.max(Math.abs(chunkX), Math.abs(chunkZ)))
{
LocalWorld world = WorldHelper.toLocalWorld(worldMC);
LocalBiome biome = world.getBiome(chunkX * 16 + 8, chunkZ * 16 + 8);
if (rand.nextDouble() * 100.0 < biome.getBiomeConfig().mineshaftsRarity)