Uses of Interface
net.minecraft.advancements.critereon.CollectionContentsPredicate
-
Uses of CollectionContentsPredicate in net.minecraft.advancements.critereon
Modifier and TypeClassDescriptionstatic final record
CollectionContentsPredicate.Multiple<T,
P extends Predicate<T>> static final record
CollectionContentsPredicate.Single<T,
P extends Predicate<T>> static class
CollectionContentsPredicate.Zero<T,
P extends Predicate<T>> Modifier and TypeFieldDescriptionprivate final Optional
<CollectionContentsPredicate<T, P>> CollectionPredicate.contains
The field for thecontains
record component.Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
CollectionContentsPredicate<T, P> static <T,
P extends Predicate<T>>
CollectionContentsPredicate<T, P> CollectionContentsPredicate.of
(P... p_341163_) Modifier and TypeMethodDescriptionstatic <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionContentsPredicate<T, P>> CollectionContentsPredicate.codec
(com.mojang.serialization.Codec<P> p_341117_) CollectionPredicate.contains()
Returns the value of thecontains
record component.ModifierConstructorDescriptionCollectionPredicate
(Optional<CollectionContentsPredicate<T, P>> contains, Optional<CollectionCountsPredicate<T, P>> counts, Optional<MinMaxBounds.Ints> size) Creates an instance of aCollectionPredicate
record class.