Interface CollectionContentsPredicate<T, P extends Predicate<T>>
- All Known Implementing Classes:
CollectionContentsPredicate.Multiple, CollectionContentsPredicate.Single, CollectionContentsPredicate.Zero
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordCollectionContentsPredicate.Multiple<T, P extends Predicate<T>>static final recordCollectionContentsPredicate.Single<T, P extends Predicate<T>>static classCollectionContentsPredicate.Zero<T, P extends Predicate<T>> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T, P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionContentsPredicate<T, P>> codec(com.mojang.serialization.Codec<P> elementCodec) static <T, P extends Predicate<T>>
CollectionContentsPredicate<T, P> static <T, P extends Predicate<T>>
CollectionContentsPredicate<T, P> of(P... predicates) unpack()
-
Method Details
-
unpack
-
codec
static <T, P extends Predicate<T>> com.mojang.serialization.Codec<CollectionContentsPredicate<T,P>> codec(com.mojang.serialization.Codec<P> elementCodec) -
of
@SafeVarargs static <T, P extends Predicate<T>> CollectionContentsPredicate<T,P> of(P... predicates) -
of
-