protected OptionalInt parseData(ConfigurationSection config) {
        if (config.contains("data")) {
            return OptionalInt.of(config.getInt("data"));
        }
        return OptionalInt.empty();
    }
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