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
net.minecraft.src.C_378856_
net.minecraft.core.component.predicates.BundlePredicate

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (Optional<CollectionPredicate<ItemStack, ItemPredicate>> items)

方法概要

修饰符与类型方法
public DataComponentType<BundleContents>
a()
componentType()
method_58163()
getComponentType()
m_384318_()
public boolean
a(dnz arg0)
matches(BundleContents arg0)
method_59673(class_9276 arg0)
test(BundleContentsComponent arg0)
m_384009_(C_313255_ arg0)
public Optional<CollectionPredicate<ItemStack, ItemPredicate>>
b()
items()
comp_2630()
items()
f_382622_()