Chunk chunk = world.getChunkFromBlockCoords(x, z);
int cX = x & 15, cZ = z & 15;
for (int y = yS; y <= yL; ++y) {
Block block = chunk.getBlock(cX, y, cZ);
if (block.isWood(world, x, y, z) || block.isLeaves(world, x, y, z)) {
if (chunk.func_150807_a(cX, y, cZ, Blocks.air, 0)) {
set.add(chunk);
}
}
}
}