public void recordChanges(ChangeType type, Iterable<T> values) {
        for (T value : values) {
            recordChange(new Change<>(type, value));
        }
    }
Records some changes.

@param type the type of change
@param values the changed values
common/src/main/java/me/lucko/luckperms/common/util/Difference.java