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