Hello there,
I’m trying to familiarize myself with the inventory api.
I’d like to know if it is possible to get an ItemType given an item’s id as a String. For example, getting ItemTypes.REDSTONE_BLOCK
given the string "minecraft:redstone_block"
.
Thanks for your help !