Uses of Interface
net.minecraft.predicate.collection.CollectionCountsPredicate
Packages that use CollectionCountsPredicate
-
Uses of CollectionCountsPredicate in net.minecraft.predicate.collection
Classes in net.minecraft.predicate.collection that implement CollectionCountsPredicateModifier and TypeClassDescriptionstatic classCollectionCountsPredicate.Empty<T,P extends Predicate<T>> static final recordCollectionCountsPredicate.Multiple<T,P extends Predicate<T>> static final recordCollectionCountsPredicate.Single<T,P extends Predicate<T>> Fields in net.minecraft.predicate.collection with type parameters of type CollectionCountsPredicateModifier and TypeFieldDescriptionprivate final Optional<CollectionCountsPredicate<T, P>> CollectionPredicate.countsThe field for thecountsrecord component.Methods in net.minecraft.predicate.collection that return CollectionCountsPredicateModifier 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) Methods in net.minecraft.predicate.collection that return types with arguments of type CollectionCountsPredicateModifier and TypeMethodDescriptionCollectionPredicate.counts()Returns the value of thecountsrecord component.static <T,P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionCountsPredicate<T, P>> CollectionCountsPredicate.createCodec(com.mojang.serialization.Codec<P> predicateCodec)