public static class ChangedDimensionCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private DimensionType |
from |
private DimensionType |
to |
Constructor and Description |
---|
Conditions(DimensionType from,
DimensionType to) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(DimensionType from,
DimensionType to) |
static ChangedDimensionCriterion.Conditions |
to(DimensionType to) |
JsonElement |
toJson() |
getId, toString
@Nullable private final DimensionType from
@Nullable private final DimensionType to
public Conditions(@Nullable DimensionType from, @Nullable DimensionType to)
public static ChangedDimensionCriterion.Conditions to(DimensionType to)
public boolean matches(DimensionType from, DimensionType to)
public JsonElement toJson()