Class TagPredicate<T>
java.lang.Object
net.minecraft.advancements.critereon.TagPredicate<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TagPredicate<T>
fromJson
(com.google.gson.JsonElement p_270982_, ResourceKey<? extends Registry<T>> p_270978_) static <T> TagPredicate<T>
static <T> TagPredicate<T>
boolean
com.google.gson.JsonElement
-
Field Details
-
tag
-
expected
private final boolean expected
-
-
Constructor Details
-
TagPredicate
-
-
Method Details
-
is
-
isNot
-
matches
-
serializeToJson
public com.google.gson.JsonElement serializeToJson() -
fromJson
public static <T> TagPredicate<T> fromJson(@Nullable com.google.gson.JsonElement p_270982_, ResourceKey<? extends Registry<T>> p_270978_)
-