net.minecraft.advancements.critereon

public record ItemBundlePredicate

implements SingleComponentItemPredicate<BundleContents>

ck
net.minecraft.advancements.critereon.ItemBundlePredicate
net.minecraft.class_9655
net.minecraft.predicate.item.BundleContentsPredicate
net.minecraft.advancements.critereon.ItemBundlePredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<ItemStack, ItemPredicate>>
c
items
comp_2630
items
public static final com.mojang.serialization.Codec<ItemBundlePredicate>
a
CODEC
field_51380
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<BundleContents>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cxp arg0, czt arg1)
matches(ItemStack arg0, BundleContents arg1)
method_59673(class_1799 arg0, class_9276 arg1)
test(ItemStack arg0, BundleContentsComponent arg1)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2630()
items()