Add non-deprecated alternatives for getting target blocks. Adds BUKKIT-4799