net.minecraft.advancements.critereon

public record NbtPredicate

dn
net.minecraft.advancements.critereon.NbtPredicate
net.minecraft.class_2105
net.minecraft.predicate.NbtPredicate
net.minecraft.advancements.critereon.CriterionConditionNBT

Field summary

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

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

Modifier and TypeMethod
public boolean
a(cwq arg0)
matches(ItemStack arg0)
method_9074(class_1799 arg0)
test(ItemStack stack)
public boolean
a(bum arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
test(Entity entity)
public boolean
a(un arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
test(NbtElement element)
public static CompoundTag
b(bum arg0)
getEntityTagToCompare(Entity arg0)
method_9076(class_1297 arg0)
entityToNbt(Entity entity)
public CompoundTag
a()
tag()
comp_1816()
nbt()