Mineshaft books

Enchanted books generate inside Mineshafts now.
How about using a C++11 for loop instead?