Import Material from the Bukkit API, not NMS (whoops)