Interface CollectionCountsPredicate<T,P extends Predicate<T>>
- All Known Implementing Classes:
CollectionCountsPredicate.Multiple,CollectionCountsPredicate.Single,CollectionCountsPredicate.Zero
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordCollectionCountsPredicate.Entry<T,P extends Predicate<T>> static final recordCollectionCountsPredicate.Multiple<T,P extends Predicate<T>> static final recordCollectionCountsPredicate.Single<T,P extends Predicate<T>> static classCollectionCountsPredicate.Zero<T,P extends Predicate<T>> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionCountsPredicate<T, P>> codec(com.mojang.serialization.Codec<P> p_341206_) static <T,P extends Predicate<T>>
CollectionCountsPredicate<T, P> of(List<CollectionCountsPredicate.Entry<T, P>> p_341102_) static <T,P extends Predicate<T>>
CollectionCountsPredicate<T, P> of(CollectionCountsPredicate.Entry<T, P>... p_341225_) unpack()
-
Method Details
-
unpack
List<CollectionCountsPredicate.Entry<T,P>> unpack() -
codec
static <T,P extends Predicate<T>> com.mojang.serialization.Codec<CollectionCountsPredicate<T,P>> codec(com.mojang.serialization.Codec<P> p_341206_) -
of
@SafeVarargs static <T,P extends Predicate<T>> CollectionCountsPredicate<T,P> of(CollectionCountsPredicate.Entry<T, P>... p_341225_) -
of
static <T,P extends Predicate<T>> CollectionCountsPredicate<T,P> of(List<CollectionCountsPredicate.Entry<T, P>> p_341102_)
-