Class EntityTypePredicate.TagPredicate
java.lang.Object
net.minecraft.advancements.critereon.EntityTypePredicate
net.minecraft.advancements.critereon.EntityTypePredicate.TagPredicate
- Enclosing class:
- EntityTypePredicate
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.EntityTypePredicate
EntityTypePredicate.TagPredicate, EntityTypePredicate.TypePredicate
-
Field Summary
FieldsFields inherited from class net.minecraft.advancements.critereon.EntityTypePredicate
ANY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(EntityType<?> p_37658_) com.google.gson.JsonElement
Methods inherited from class net.minecraft.advancements.critereon.EntityTypePredicate
fromJson, of, of
-
Field Details
-
tag
-
-
Constructor Details
-
TagPredicate
-
-
Method Details
-
matches
- Specified by:
matches
in classEntityTypePredicate
-
serializeToJson
public com.google.gson.JsonElement serializeToJson()- Specified by:
serializeToJson
in classEntityTypePredicate
-