net.minecraft.advancements.critereon

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

implements Predicate<Iterable<T>>

bd
net.minecraft.advancements.critereon.CollectionPredicate
net.minecraft.class_9648
net.minecraft.unmapped.C_bhqgunjh
net.minecraft.predicate.collection.CollectionPredicate
net.minecraft.unmapped.C_bhqgunjh
net.minecraft.src.C_313693_
net.minecraft.advancements.critereon.CollectionPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (Optional<CollectionContentsPredicate<T, P>> contains, Optional<CollectionCountsPredicate<T, P>> counts, Optional<MinMaxBounds$Ints> size)

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)
m_dfyqfkrd(com.mojang.serialization.Codec<P> arg0)
createCodec(com.mojang.serialization.Codec<P> predicateCodec)
m_dfyqfkrd(com.mojang.serialization.Codec<P> codec)
m_321514_(com.mojang.serialization.Codec<P> p_330735_)
public boolean
a(Iterable<T> arg0)
test(Iterable<T> arg0)
method_59625(Iterable<T> arg0)
m_hatfquop(Iterable<T> arg0)
test(Iterable<T> arg0)
test(Iterable<T> arg0)
test(Iterable<T> arg0)
public Optional<CollectionContentsPredicate<T, P>>
a()
contains()
comp_2617()
m_yrwtccit()
contains()
contains()
f_315792_()
public Optional<CollectionCountsPredicate<T, P>>
b()
counts()
comp_2618()
m_ibsfurfk()
counts()
counts()
f_314648_()
public Optional<MinMaxBounds$Ints>
c()
size()
comp_2619()
m_aaxnhfyj()
size()
size()
f_316667_()