Fixed everything except the irrepairable... for now.
Will be forced not to do a build until 1.8 until suitable replacement
for getTargetBlock is implemented :C.