net.minecraft.core.component.predicates

public record BundlePredicate

implements SingleComponentItemPredicate<BundleContents>

kq
net.minecraft.core.component.predicates.BundlePredicate
net.minecraft.class_9655
net.minecraft.predicate.item.BundleContentsPredicate
net.minecraft.src.C_378856_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<BundleContents>
a()
componentType()
method_58163()
getComponentType()
m_325047_()
public boolean
a(dcn arg0)
matches(BundleContents arg0)
method_59673(class_9276 arg0)
test(BundleContentsComponent arg0)
m_319936_(C_313255_ arg0)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2630()
items()
f_382622_()