net.minecraft.core.component.predicates

public record BundlePredicate

implements SingleComponentItemPredicate<BundleContents>

ko
net.minecraft.core.component.predicates.BundlePredicate
net.minecraft.class_9655
net.minecraft.predicate.item.BundleContentsPredicate

Field summary

Modifier and TypeField
private final Optional<CollectionPredicate<ItemStack, ItemPredicate>>
c
items
comp_2630
items
public static final com.mojang.serialization.Codec<BundlePredicate>
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(dav arg0)
matches(BundleContents arg0)
method_59673(class_9276 arg0)
test(BundleContentsComponent arg0)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2630()
items()