public static class ConstructBeaconCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private NumberRange.IntRange |
level |
Constructor and Description |
---|
Conditions(NumberRange.IntRange level) |
Modifier and Type | Method and Description |
---|---|
static ConstructBeaconCriterion.Conditions |
level(NumberRange.IntRange intRange) |
boolean |
matches(BeaconBlockEntity beacon) |
JsonElement |
toJson() |
getId, toString
private final NumberRange.IntRange level
public Conditions(NumberRange.IntRange level)
public static ConstructBeaconCriterion.Conditions level(NumberRange.IntRange intRange)
public boolean matches(BeaconBlockEntity beacon)
public JsonElement toJson()