Class EntityTypePredicate
java.lang.Object
net.minecraft.advancements.critereon.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 EntityTypePredicate
private static com.google.common.base.Joiner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
fromJson(com.google.gson.JsonElement p_37644_)
abstract boolean
matches(EntityType<?> p_37642_)
static EntityTypePredicate
of(Tag<EntityType<?>> p_37641_)
static EntityTypePredicate
of(EntityType<?> p_37648_)
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
-