static class EntityTypePredicate.Tagged extends EntityTypePredicate
EntityTypePredicate.Single, EntityTypePredicate.Tagged| Modifier and Type | Field and Description |
|---|---|
private Tag<EntityType<?>> |
tag |
ANY| Constructor and Description |
|---|
Tagged(Tag<EntityType<?>> tag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(EntityType<?> type) |
JsonElement |
toJson() |
create, create, deserializeprivate final Tag<EntityType<?>> tag
public Tagged(Tag<EntityType<?>> tag)
public boolean matches(EntityType<?> type)
matches in class EntityTypePredicatepublic JsonElement toJson()
toJson in class EntityTypePredicate