protected Material parseMaterial(String name) {
        try {
            return Material.valueOf(name.toUpperCase());
        } catch (IllegalArgumentException e) {
            throw new IllegalArgumentException("Unable to parse material '" + name + "'");
        }
    }
Reads an {@link ItemStackBuilder} from the given config.

@param config the config to read from
@param variableReplacer the variable replacer to use to replace variables in the name and lore.
@return the item
helper/src/main/java/me/lucko/helper/item/ItemStackReader.java