net.minecraft.advancements.critereon

public record NbtPredicate

cy
net.minecraft.advancements.critereon.NbtPredicate
net.minecraft.class_2105
net.minecraft.unmapped.C_emmbeecz
net.minecraft.predicate.NbtPredicate
net.minecraft.predicate.NbtPredicate

Field summary

Modifier and TypeField
private final CompoundTag
c
tag
comp_1816
f_jiddzkdc
nbt
nbt
public static final com.mojang.serialization.Codec<NbtPredicate>
a
CODEC
field_45768
f_ecdgjoqe
CODEC
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, NbtPredicate>
b
STREAM_CODEC
field_49244
f_pelcohoj
PACKET_CODEC
PACKET_CODEC

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

Modifier and TypeMethod
public boolean
a(ke arg0)
matches(DataComponentGetter arg0)
method_9074(class_9473 arg0)
m_eiiuglzh(C_hmcnusfu arg0)
test(ComponentsAccess components)
public boolean
a(bwf arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
m_qgtimpsy(C_astfners arg0)
test(Entity entity)
test(Entity entity)
public boolean
a(uw arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
m_rsstddzc(C_oivssbvb arg0)
test(NbtElement element)
test(NbtElement nbt)
public static CompoundTag
b(bwf arg0)
getEntityTagToCompare(Entity arg0)
method_9076(class_1297 arg0)
m_ebfqevpx(C_astfners arg0)
entityToNbt(Entity entity)
entityToNbt(Entity entity)
public CompoundTag
a()
tag()
comp_1816()
m_rizlhxaj()
nbt()
tag()