net.minecraft.advancements.critereon

public class NbtPredicate

cl
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
public static final NbtPredicate
a
ANY
field_9716
ANY
f_57471_
private final CompoundTag
b
tag
field_9715
nbt
f_57472_

Constructor summary

ModifierConstructor
public (CompoundTag nbt)

Method summary

Modifier and TypeMethod
public boolean
a(cax arg0)
matches(ItemStack arg0)
method_9074(class_1799 arg0)
test(ItemStack stack)
m_57479_(C_1391_ arg0)
public boolean
a(bbn arg0)
matches(Entity arg0)
method_9072(class_1297 arg0)
test(Entity entity)
m_57477_(C_507_ arg0)
public boolean
a(qc arg0)
matches(Tag arg0)
method_9077(class_2520 arg0)
test(NbtElement element)
m_57483_(C_4950_ arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_9075()
toJson()
m_57476_()
public static NbtPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_9073(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_57481_(com.google.gson.JsonElement p_57482_)
public static CompoundTag
b(bbn arg0)
getEntityTagToCompare(Entity arg0)
method_9076(class_1297 arg0)
entityToNbt(Entity entity)
m_57485_(C_507_ p_57486_)