net.minecraft.advancements.critereon

public record NbtPredicate

dk
net.minecraft.advancements.critereon.NbtPredicate
net.minecraft.class_2105
net.minecraft.predicate.NbtPredicate
net.minecraft.src.C_1941_
net.minecraft.advancements.critereon.CriterionConditionNBT

Field summary

Modifier and TypeField
private final CompoundTag
c
tag
comp_1816
nbt
f_57472_
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_

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

Modifier and TypeMethod
public boolean
a(cuq arg0)
matches(ItemStack arg0)
method_9074(class_1799 arg0)
test(ItemStack stack)
m_57479_(C_1391_ arg0)
public boolean
a(bsr arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
test(Entity entity)
m_57477_(C_507_ arg0)
public boolean
a(uy arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
test(NbtElement element)
m_57483_(C_4950_ arg0)
public static CompoundTag
b(bsr 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_()