Package net.minecraft.predicate
Class TagPredicate<T>
java.lang.Object
net.minecraft.predicate.TagPredicate<T>
- Mappings:
- Namespace - Name - official - db- intermediary - net/minecraft/class_8129- named - net/minecraft/predicate/TagPredicate
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TagPredicate<T>static <T> TagPredicate<T>fromJson(@Nullable JsonElement json, RegistryKey<? extends Registry<T>> registry) booleantest(RegistryEntry<T> registryEntry) toJson()static <T> TagPredicate<T>unexpected(TagKey<T> tag) 
- 
Field Details- 
tag- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldb;a:Lanl;- intermediary - field_42477- Lnet/minecraft/class_8129;field_42477:Lnet/minecraft/class_6862;- named - tag- Lnet/minecraft/predicate/TagPredicate;tag:Lnet/minecraft/registry/tag/TagKey;
 
- 
expectedprivate final boolean expected- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldb;b:Z- intermediary - field_42478- Lnet/minecraft/class_8129;field_42478:Z- named - expected- Lnet/minecraft/predicate/TagPredicate;expected:Z
 
 
- 
- 
Constructor Details- 
TagPredicate- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldb;<init>(Lanl;Z)V- intermediary - <init>- Lnet/minecraft/class_8129;<init>(Lnet/minecraft/class_6862;Z)V- named - <init>- Lnet/minecraft/predicate/TagPredicate;<init>(Lnet/minecraft/registry/tag/TagKey;Z)V
 
 
- 
- 
Method Details- 
expected- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldb;a(Lanl;)Ldb;- intermediary - method_48965- Lnet/minecraft/class_8129;method_48965(Lnet/minecraft/class_6862;)Lnet/minecraft/class_8129;- named - expected- Lnet/minecraft/predicate/TagPredicate;expected(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/TagPredicate;
 
- 
unexpected- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldb;b(Lanl;)Ldb;- intermediary - method_48968- Lnet/minecraft/class_8129;method_48968(Lnet/minecraft/class_6862;)Lnet/minecraft/class_8129;- named - unexpected- Lnet/minecraft/predicate/TagPredicate;unexpected(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/TagPredicate;
 
- 
test- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldb;a(Lhe;)Z- intermediary - method_48967- Lnet/minecraft/class_8129;method_48967(Lnet/minecraft/class_6880;)Z- named - test- Lnet/minecraft/predicate/TagPredicate;test(Lnet/minecraft/registry/entry/RegistryEntry;)Z
 
- 
toJson- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldb;a()Lcom/google/gson/JsonElement;- intermediary - method_48964- Lnet/minecraft/class_8129;method_48964()Lcom/google/gson/JsonElement;- named - toJson- Lnet/minecraft/predicate/TagPredicate;toJson()Lcom/google/gson/JsonElement;
 
- 
fromJsonpublic static <T> TagPredicate<T> fromJson(@Nullable @Nullable JsonElement json, RegistryKey<? extends Registry<T>> registry) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldb;a(Lcom/google/gson/JsonElement;Lacp;)Ldb;- intermediary - method_48966- Lnet/minecraft/class_8129;method_48966(Lcom/google/gson/JsonElement;Lnet/minecraft/class_5321;)Lnet/minecraft/class_8129;- named - fromJson- Lnet/minecraft/predicate/TagPredicate;fromJson(Lcom/google/gson/JsonElement;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/predicate/TagPredicate;
 
 
-