final int xx = x - 7 + random.nextInt(15);
final int zz = z - 7 + random.nextInt(15);
final int yy = getHighestWorkableBlock(world, xx, zz);
if (yy != -1 && world.getBlockMaterial(xx, yy, zz) == VanillaMaterials.AIR
&& canTallGrassStay(world.getBlock(xx, yy, zz))) {
final TallGrass grass = factory.make(random);
world.setBlockMaterial(xx, yy, zz, grass, grass.getData(), null);
}
}
}
}