net.minecraft.advancements.criterion

public record NbtPredicate

ct
net.minecraft.advancements.criterion.NbtPredicate
net.minecraft.class_2105
net.minecraft.predicate.NbtPredicate
net.minecraft.src.C_432607_
net.minecraft.advancements.criterion.CriterionConditionNBT

字段概要

修饰符与类型字段
private final CompoundTag
d
tag
comp_1816
nbt
f_434022_
private static final org.slf4j.Logger
e
LOGGER
field_60368
LOGGER
f_436588_
public static final com.mojang.serialization.Codec<NbtPredicate>
a
CODEC
field_45768
CODEC
f_436838_
public static final StreamCodec<io.netty.buffer.ByteBuf, NbtPredicate>
b
STREAM_CODEC
field_49244
PACKET_CODEC
f_437043_
public static final String
c
SELECTED_ITEM_TAG
field_60367
SELECTED_ITEM_KEY
f_436999_

构造函数概要

修饰符构造函数
public (CompoundTag nbt)

方法概要

修饰符与类型方法
public boolean
a(kd arg0)
matches(DataComponentGetter arg0)
method_9074(class_9473 arg0)
test(ComponentsAccess components)
m_446751_(C_379187_ arg0)
public boolean
a(cgk arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
test(Entity entity)
m_441686_(C_507_ arg0)
public boolean
a(vz arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
test(NbtElement element)
m_446653_(C_4950_ arg0)
public static CompoundTag
b(cgk arg0)
getEntityTagToCompare(Entity arg0)
method_9076(class_1297 arg0)
entityToNbt(Entity entity)
m_443433_(C_507_ p_456125_)
public CompoundTag
a()
tag()
comp_1816()
nbt()
f_434022_()