public static @NonNull List<DataType> values(@NonNull Predicate<? super DataType> predicate) {
        boolean normal = predicate.test(DataType.NORMAL);
        boolean trans = predicate.test(DataType.TRANSIENT);

        if (normal && trans) {
            return ALL_LIST;
        } else if (normal) {
            return NORMAL_ONLY_LIST;
        } else if (trans) {
            return TRANSIENT_ONLY_LIST;
        } else {
            return Collections.emptyList();
        }
    }
Gets a {@link List} of all {@link DataType}s, filtered by the {@code predicate}.

@param predicate the predicate to filter with
@return the list of data types
api/src/main/java/net/luckperms/api/query/dataorder/DataTypeFilter.java