54555657585960616263
final int z = chunk.getBlockZ(random); final int y = getHighestWorkableBlock(world, x, z); if (y == -1) { return; } final WellObject well = new WellObject(); if (well.canPlaceObject(world, x, y, z)) { well.placeObject(world, x, y, z); } }