net.minecraft.advancements.critereon

public record ItemContainerPredicate

implements SingleComponentItemPredicate<ItemContainerContents>

ch
net.minecraft.advancements.critereon.ItemContainerPredicate
net.minecraft.class_9656
net.minecraft.predicate.item.ContainerPredicate
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
items
f_317128_
public static final com.mojang.serialization.Codec<ItemContainerPredicate>
a
CODEC
field_51381
CODEC
f_315175_

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<ItemContainerContents>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cur arg0, cxn arg1)
matches(ItemStack arg0, ItemContainerContents arg1)
method_59675(class_1799 arg0, class_9288 arg1)
test(ItemStack arg0, ContainerComponent arg1)
m_318913_(C_1391_ p_328970_, C_313365_ arg1)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2631()
items()
f_317128_()