}
final SpireObject spire = new SpireObject();
spire.setRandom(random);
spire.randomize();
if (spire.canPlaceObject(world, x, y, z)) {
spire.placeObject(world, x, y, z);
}
}
private int getHighestWorkableBlock(World w, int x, int z) {
int y = TheEndGenerator.HEIGHT;