net.minecraft.advancements.critereon

public record CollectionPredicate<T, P extends Predicate<T>>

implements Predicate<Iterable<T>>

be
net.minecraft.advancements.critereon.CollectionPredicate
net.minecraft.class_9648
net.minecraft.predicate.collection.CollectionPredicate
net.minecraft.advancements.critereon.CollectionPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionContentsPredicate<T, P>>
a
contains
comp_2617
contains
private final Optional<CollectionCountsPredicate<T, P>>
b
counts
comp_2618
counts
private final Optional<MinMaxBounds$Ints>
c
size
comp_2619
size

Constructor summary

ModifierConstructor
public (Optional<CollectionContentsPredicate<T, P>> arg0, Optional<CollectionCountsPredicate<T, P>> arg1, Optional<MinMaxBounds$Ints> arg2)

Method summary

Modifier and TypeMethod
public static <T, P extends Predicate<T>> com.mojang.serialization.Codec<CollectionPredicate<T, P>>
a(com.mojang.serialization.Codec<P> arg0)
codec(com.mojang.serialization.Codec<P> arg0)
method_59623(com.mojang.serialization.Codec<P> arg0)
createCodec(com.mojang.serialization.Codec<P> predicateCodec)
public boolean
a(Iterable<T> arg0)
test(Iterable<T> arg0)
method_59625(Iterable<T> arg0)
test(Iterable<T> arg0)
public Optional<CollectionContentsPredicate<T, P>>
a()
contains()
comp_2617()
contains()
public Optional<CollectionCountsPredicate<T, P>>
b()
counts()
comp_2618()
counts()
public Optional<MinMaxBounds$Ints>
c()
size()
comp_2619()
size()