final int x = chunk.getBlockX(random);
final int z = chunk.getBlockZ(random);
final int y = getHighestWorkableBlock(world, x, z);
sand.randomize();
if (y != -1 && sand.canPlaceObject(world, x, y, z)) {
sand.placeObject(world, x, y, z);
}
}
final BlockPatchObject clay = new BlockPatchObject(VanillaMaterials.CLAY_BLOCK);
clay.setHeightRadius((byte) 1);
clay.getOverridableMaterials().clear();