Class EntityTypePredicate
java.lang.Object
net.minecraft.advancements.criterion.EntityTypePredicate
- Direct Known Subclasses:
EntityTypePredicate.TagPredicate
,EntityTypePredicate.TypePredicate
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityTypePredicate
private static final com.google.common.base.Joiner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
fromJson
(com.google.gson.JsonElement p_209370_0_) abstract boolean
matches
(EntityType<?> p_209368_1_) static EntityTypePredicate
of
(EntityType<?> p_217999_0_) static EntityTypePredicate
of
(ITag<EntityType<?>> p_217998_0_) abstract com.google.gson.JsonElement
-
Field Details
-
ANY
-
COMMA_JOINER
private static final com.google.common.base.Joiner COMMA_JOINER
-
-
Constructor Details
-
EntityTypePredicate
public EntityTypePredicate()
-
-
Method Details
-
matches
-
serializeToJson
public abstract com.google.gson.JsonElement serializeToJson() -
fromJson
-
of
-
of
-