Package net.minecraft.predicate
Class NbtPredicate
java.lang.Object
net.minecraft.predicate.NbtPredicate
public class NbtPredicate extends Object
- Mappings:
Namespace Name official cbintermediary net/minecraft/class_2105named net/minecraft/predicate/NbtPredicate
-
Field Summary
Fields Modifier and Type Field Description static NbtPredicateANYprivate CompoundTagtag -
Constructor Summary
Constructors Constructor Description NbtPredicate(CompoundTag tag) -
Method Summary
Modifier and Type Method Description static CompoundTagentityToTag(Entity entity)static NbtPredicatefromJson(JsonElement json)booleantest(Entity entity)booleantest(ItemStack stack)booleantest(Tag tag)JsonElementtoJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official aLcb;a:Lcb;intermediary field_9716Lnet/minecraft/class_2105;field_9716:Lnet/minecraft/class_2105;named ANYLnet/minecraft/predicate/NbtPredicate;ANY:Lnet/minecraft/predicate/NbtPredicate;
-
tag
- Mappings:
Namespace Name Mixin selector official bLcb;b:Lmq;intermediary field_9715Lnet/minecraft/class_2105;field_9715:Lnet/minecraft/class_2487;named tagLnet/minecraft/predicate/NbtPredicate;tag:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
NbtPredicate
- Mappings:
Namespace Name Mixin selector official <init>Lcb;<init>(Lmq;)Vintermediary <init>Lnet/minecraft/class_2105;<init>(Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/predicate/NbtPredicate;<init>(Lnet/minecraft/nbt/CompoundTag;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official aLcb;a(Lbnv;)Zintermediary method_9074Lnet/minecraft/class_2105;method_9074(Lnet/minecraft/class_1799;)Znamed testLnet/minecraft/predicate/NbtPredicate;test(Lnet/minecraft/item/ItemStack;)Z
-
test
- Mappings:
Namespace Name Mixin selector official aLcb;a(Laqv;)Zintermediary method_9072Lnet/minecraft/class_2105;method_9072(Lnet/minecraft/class_1297;)Znamed testLnet/minecraft/predicate/NbtPredicate;test(Lnet/minecraft/entity/Entity;)Z
-
test
- Mappings:
Namespace Name Mixin selector official aLcb;a(Lni;)Zintermediary method_9077Lnet/minecraft/class_2105;method_9077(Lnet/minecraft/class_2520;)Znamed testLnet/minecraft/predicate/NbtPredicate;test(Lnet/minecraft/nbt/Tag;)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official aLcb;a()Lcom/google/gson/JsonElement;intermediary method_9075Lnet/minecraft/class_2105;method_9075()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/predicate/NbtPredicate;toJson()Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLcb;a(Lcom/google/gson/JsonElement;)Lcb;intermediary method_9073Lnet/minecraft/class_2105;method_9073(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2105;named fromJsonLnet/minecraft/predicate/NbtPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/NbtPredicate;
-
entityToTag
- Mappings:
Namespace Name Mixin selector official bLcb;b(Laqv;)Lmq;intermediary method_9076Lnet/minecraft/class_2105;method_9076(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2487;named entityToTagLnet/minecraft/predicate/NbtPredicate;entityToTag(Lnet/minecraft/entity/Entity;)Lnet/minecraft/nbt/CompoundTag;
-