Package net.minecraft.predicate
Class NbtPredicate
java.lang.Object
net.minecraft.predicate.NbtPredicate
public class NbtPredicate extends Object
-
Field Summary
Fields Modifier and Type Field Description static NbtPredicate
ANY
private CompoundTag
tag
-
Constructor Summary
Constructors Constructor Description NbtPredicate(CompoundTag tag)
-
Method Summary
Modifier and Type Method Description static CompoundTag
entityToTag(Entity entity)
static NbtPredicate
fromJson(JsonElement json)
boolean
test(Entity entity)
boolean
test(ItemStack stack)
boolean
test(Tag tag)
JsonElement
toJson()
-
Field Details
-
ANY
-
tag
-
-
Constructor Details
-
NbtPredicate
-
-
Method Details
-
test
-
test
-
test
-
toJson
-
fromJson
-
entityToTag
-