public static class SummonedEntityCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
entity |
Constructor and Description |
---|
Conditions(EntityPredicate entity) |
Modifier and Type | Method and Description |
---|---|
static SummonedEntityCriterion.Conditions |
create(EntityPredicate.Builder builder) |
boolean |
matches(ServerPlayerEntity player,
Entity entity) |
JsonElement |
toJson() |
getId, toString
private final EntityPredicate entity
public Conditions(EntityPredicate entity)
public static SummonedEntityCriterion.Conditions create(EntityPredicate.Builder builder)
public boolean matches(ServerPlayerEntity player, Entity entity)
public JsonElement toJson()