net.minecraft.advancements.critereon

public record NbtPredicate

da
net.minecraft.advancements.critereon.NbtPredicate
net.minecraft.class_2105
net.minecraft.predicate.NbtPredicate
net.minecraft.src.C_1941_

Field summary

Modifier and TypeField
private final CompoundTag
d
tag
comp_1816
nbt
f_57472_
private static final org.slf4j.Logger
e
LOGGER
field_60368
LOGGER
f_400118_
public static final com.mojang.serialization.Codec<NbtPredicate>
a
CODEC
field_45768
CODEC
f_291854_
public static final StreamCodec<io.netty.buffer.ByteBuf, NbtPredicate>
b
STREAM_CODEC
field_49244
PACKET_CODEC
f_314061_
public static final String
c
SELECTED_ITEM_TAG
field_60367
SELECTED_ITEM_KEY
f_399905_

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

Modifier and TypeMethod
public boolean
a(kl arg0)
matches(DataComponentGetter arg0)
method_9074(class_9473 arg0)
test(ComponentsAccess components)
m_57479_(C_379187_ arg0)
public boolean
a(bzm arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
test(Entity entity)
m_57477_(C_507_ arg0)
public boolean
a(vi arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
test(NbtElement element)
m_57483_(C_4950_ arg0)
public static CompoundTag
b(bzm arg0)
getEntityTagToCompare(Entity arg0)
method_9076(class_1297 arg0)
entityToNbt(Entity entity)
m_57485_(C_507_ p_57486_)
public CompoundTag
a()
tag()
comp_1816()
nbt()
f_57472_()