final Mineshaft mineshaft = new Mineshaft(random);
final int x = blockX + random.nextInt(VARIATION * 2 + 1) - VARIATION;
final int y = random.nextInt(RAND_Y) + BASE_Y;
final int z = blockZ + random.nextInt(VARIATION * 2 + 1) - VARIATION;
if (mineshaft.canPlaceObject(world, x, y, z)) {
mineshaft.placeObject(world, x, y, z);
}
}
}
}