net.minecraft.advancements.critereon

public record NbtPredicate

cn
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
b
tag
comp_1816
nbt
f_57472_
public static final com.mojang.serialization.Codec<NbtPredicate>
a
CODEC
field_45768
CODEC
f_291854_

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

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