Minecraft wiki entry for Thunderstorm_survival, associated text: Remember that this will only occur if the mob(s) that are transformed in question are within 3 blocks of the lightning. However, it is not an inconsiderable threat. Phantoms do not spawn from the bolts but from the fact of a thunderstorm.