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> p_341117_) static <T,P extends Predicate<T>>
CollectionContentsPredicate<T, P> static <T,P extends Predicate<T>>
CollectionContentsPredicate<T, P> of(P... p_341163_) unpack()
-
Method Details
-
unpack
-
codec
static <T,P extends Predicate<T>> com.mojang.serialization.Codec<CollectionContentsPredicate<T,P>> codec(com.mojang.serialization.Codec<P> p_341117_) -
of
-
of
-