Uses of Interface
net.minecraft.advancements.critereon.CollectionCountsPredicate
-
Uses of CollectionCountsPredicate in net.minecraft.advancements.critereon
Modifier and TypeClassDescriptionstatic final record
CollectionCountsPredicate.Multiple<T,
P extends Predicate<T>> static final record
CollectionCountsPredicate.Single<T,
P extends Predicate<T>> static class
CollectionCountsPredicate.Zero<T,
P extends Predicate<T>> Modifier and TypeFieldDescriptionprivate final Optional
<CollectionCountsPredicate<T, P>> CollectionPredicate.counts
The field for thecounts
record component.Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
CollectionCountsPredicate<T, P> CollectionCountsPredicate.of
(List<CollectionCountsPredicate.Entry<T, P>> p_341102_) static <T,
P extends Predicate<T>>
CollectionCountsPredicate<T, P> CollectionCountsPredicate.of
(CollectionCountsPredicate.Entry<T, P>... p_341225_) Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionCountsPredicate<T, P>> CollectionCountsPredicate.codec
(com.mojang.serialization.Codec<P> p_341206_) CollectionPredicate.counts()
Returns the value of thecounts
record component.