Uses of Interface
net.minecraft.predicate.collection.CollectionCountsPredicate
-
Uses of CollectionCountsPredicate in net.minecraft.predicate.collection
Modifier and TypeClassDescriptionstatic class
CollectionCountsPredicate.Empty<T,
P extends Predicate<T>> static final record
CollectionCountsPredicate.Multiple<T,
P extends Predicate<T>> static final record
CollectionCountsPredicate.Single<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.create
(List<CollectionCountsPredicate.Entry<T, P>> entries) static <T,
P extends Predicate<T>>
CollectionCountsPredicate<T, P> CollectionCountsPredicate.create
(CollectionCountsPredicate.Entry<T, P>[] entries) Modifier and TypeMethodDescriptionCollectionPredicate.counts()
Returns the value of thecounts
record component.static <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionCountsPredicate<T, P>> CollectionCountsPredicate.createCodec
(com.mojang.serialization.Codec<P> predicateCodec)