net.minecraft.advancements.critereon

public record ItemContainerPredicate

implements SingleComponentItemPredicate<ItemContainerContents>

cl
net.minecraft.advancements.critereon.ItemContainerPredicate
net.minecraft.class_9656
net.minecraft.predicate.item.ContainerPredicate
net.minecraft.advancements.critereon.ItemContainerPredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<ItemContainerContents>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cxp arg0, dah arg1)
matches(ItemStack arg0, ItemContainerContents arg1)
method_59675(class_1799 arg0, class_9288 arg1)
test(ItemStack arg0, ContainerComponent arg1)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2631()
items()