Add non-deprecated alternatives for getting block types. Adds BUKKIT-4884