net.minecraft.advancements.criterion

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

implements Predicate<Iterable<T>>

az
net.minecraft.advancements.criterion.CollectionPredicate
net.minecraft.class_9648
net.minecraft.predicate.collection.CollectionPredicate
net.minecraft.src.C_432118_
net.minecraft.advancements.criterion.CollectionPredicate

字段概要

修饰符与类型字段
private final Optional<CollectionContentsPredicate<T, P>>
a
contains
comp_2617
contains
f_437326_
private final Optional<CollectionCountsPredicate<T, P>>
b
counts
comp_2618
counts
f_434498_
private final Optional<MinMaxBounds$Ints>
c
size
comp_2619
size
f_435423_

构造函数概要

修饰符构造函数
public (Optional<CollectionContentsPredicate<T, P>> contains, Optional<CollectionCountsPredicate<T, P>> counts, Optional<MinMaxBounds$Ints> size)

方法概要

修饰符与类型方法
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)
m_441272_(com.mojang.serialization.Codec<P> p_456411_)
public boolean
a(Iterable<T> arg0)
test(Iterable<T> arg0)
method_59625(Iterable<T> arg0)
test(Iterable<T> arg0)
test(Iterable<T> arg0)
public Optional<CollectionContentsPredicate<T, P>>
a()
contains()
comp_2617()
contains()
f_437326_()
public Optional<CollectionCountsPredicate<T, P>>
b()
counts()
comp_2618()
counts()
f_434498_()
public Optional<MinMaxBounds$Ints>
c()
size()
comp_2619()
size()
f_435423_()