net.minecraft.advancements.criterion

public record DataComponentMatchers

implements Predicate<DataComponentGetter>

bh
net.minecraft.advancements.criterion.DataComponentMatchers
net.minecraft.class_10914
net.minecraft.predicate.component.ComponentsPredicate
net.minecraft.src.C_432941_
net.minecraft.advancements.criterion.DataComponentMatchers

字段概要

修饰符与类型字段
private final DataComponentExactPredicate
d
exact
comp_3833
exact
f_434799_
private final Map<DataComponentPredicate$Type<?>, DataComponentPredicate>
e
partial
comp_3834
partial
f_435023_
public static final DataComponentMatchers
a
ANY
field_58044
EMPTY
f_436323_
public static final com.mojang.serialization.MapCodec<DataComponentMatchers>
b
CODEC
field_58045
CODEC
f_436354_
public static final StreamCodec<RegistryFriendlyByteBuf, DataComponentMatchers>
c
STREAM_CODEC
field_58046
PACKET_CODEC
f_437054_

构造函数概要

修饰符构造函数
public (DataComponentExactPredicate exact, Map<DataComponentPredicate$Type<?>, DataComponentPredicate> partial)

方法概要

修饰符与类型方法
public boolean
a(kd arg0)
test(DataComponentGetter arg0)
method_68682(class_9473 arg0)
test(ComponentsAccess arg0)
test(C_379187_ arg0)
public boolean
a()
isEmpty()
method_68680()
isEmpty()
m_445645_()
public DataComponentExactPredicate
b()
exact()
comp_3833()
exact()
f_434799_()
public Map<DataComponentPredicate$Type<?>, DataComponentPredicate>
c()
partial()
comp_3834()
partial()
f_435023_()