Convert getMaterials from retrieving integers to strings (thanks Mojang)