net.minecraft.advancements.critereon

public record ItemContainerPredicate

implements SingleComponentItemPredicate<ItemContainerContents>

cm
net.minecraft.advancements.critereon.ItemContainerPredicate
net.minecraft.class_9656
net.minecraft.unmapped.C_ymypfppi
net.minecraft.predicate.item.ContainerPredicate
net.minecraft.unmapped.C_ymypfppi
net.minecraft.src.C_313562_
net.minecraft.advancements.critereon.ItemContainerPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<ItemStack, ItemPredicate>>
c
items
comp_2631
f_uhgnjucq
items
items
f_317128_
public static final com.mojang.serialization.Codec<ItemContainerPredicate>
a
CODEC
field_51381
f_smvpnxiw
CODEC
CODEC
f_315175_

Constructor summary

ModifierConstructor
public (Optional<CollectionPredicate<ItemStack, ItemPredicate>> items)

Method summary

Modifier and TypeMethod
public DataComponentType<ItemContainerContents>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
m_318698_()
public boolean
a(cwq arg0, czi arg1)
matches(ItemStack arg0, ItemContainerContents arg1)
method_59675(class_1799 arg0, class_9288 arg1)
m_ixapbupc(C_sddaxwyk arg0, C_tmeipioo arg1)
test(ItemStack arg0, ContainerComponent arg1)
m_ukkbbchk(ItemStack stack, ContainerContentsComponent arg1)
m_318913_(C_1391_ p_328970_, C_313365_ arg1)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2631()
m_gwgoiakk()
items()
items()
f_317128_()