Uses of Interface
net.minecraft.advancements.critereon.CollectionContentsPredicate
Packages that use CollectionContentsPredicate
-
Uses of CollectionContentsPredicate in net.minecraft.advancements.critereon
Classes in net.minecraft.advancements.critereon that implement CollectionContentsPredicateModifier and TypeClassDescriptionstatic final recordCollectionContentsPredicate.Multiple<T,P extends Predicate<T>> static final recordCollectionContentsPredicate.Single<T,P extends Predicate<T>> static classCollectionContentsPredicate.Zero<T,P extends Predicate<T>> Fields in net.minecraft.advancements.critereon with type parameters of type CollectionContentsPredicateModifier and TypeFieldDescriptionprivate final Optional<CollectionContentsPredicate<T, P>> CollectionPredicate.containsThe field for thecontainsrecord component.Methods in net.minecraft.advancements.critereon that return CollectionContentsPredicateModifier and TypeMethodDescriptionstatic <T,P extends Predicate<T>>
CollectionContentsPredicate<T, P> static <T,P extends Predicate<T>>
CollectionContentsPredicate<T, P> CollectionContentsPredicate.of(P... p_341163_) Methods in net.minecraft.advancements.critereon that return types with arguments of type CollectionContentsPredicateModifier 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 thecontainsrecord component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type CollectionContentsPredicateModifierConstructorDescriptionCollectionPredicate(Optional<CollectionContentsPredicate<T, P>> contains, Optional<CollectionCountsPredicate<T, P>> counts, Optional<MinMaxBounds.Ints> size) Creates an instance of aCollectionPredicaterecord class.