Uses of Interface
net.minecraft.predicate.collection.CollectionContainsPredicate
-
Uses of CollectionContainsPredicate in net.minecraft.predicate.collection
Modifier and TypeClassDescriptionstatic class
CollectionContainsPredicate.Empty<T,
P extends Predicate<T>> static final record
CollectionContainsPredicate.Multiple<T,
P extends Predicate<T>> static final record
CollectionContainsPredicate.Single<T,
P extends Predicate<T>> Modifier and TypeFieldDescriptionprivate final Optional
<CollectionContainsPredicate<T, P>> CollectionPredicate.contains
The field for thecontains
record component.Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
CollectionContainsPredicate<T, P> static <T,
P extends Predicate<T>>
CollectionContainsPredicate<T, P> CollectionContainsPredicate.create
(P[] predicates) Modifier and TypeMethodDescriptionCollectionPredicate.contains()
Returns the value of thecontains
record component.static <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionContainsPredicate<T, P>> CollectionContainsPredicate.createCodec
(com.mojang.serialization.Codec<P> predicateCodec) ModifierConstructorDescriptionCollectionPredicate
(Optional<CollectionContainsPredicate<T, P>> optional, Optional<CollectionCountsPredicate<T, P>> optional2, Optional<NumberRange.IntRange> optional3)