public class DirectionProperty extends EnumProperty<Direction>
Modifier | Constructor and Description |
---|---|
protected |
DirectionProperty(java.lang.String name,
java.util.Collection<Direction> values) |
Modifier and Type | Method and Description |
---|---|
static DirectionProperty |
create(java.lang.String name,
java.util.Collection<Direction> values) |
static DirectionProperty |
create(java.lang.String p_196962_0_,
Direction... p_196962_1_) |
static DirectionProperty |
create(java.lang.String name,
java.util.function.Predicate<Direction> filter) |
computeHashCode, create, create, create, create, equals, getAllowedValues, getName, parseValue
getName, getValueClass, hashCode, toString
protected DirectionProperty(java.lang.String name, java.util.Collection<Direction> values)
public static DirectionProperty create(java.lang.String name, java.util.function.Predicate<Direction> filter)
public static DirectionProperty create(java.lang.String p_196962_0_, Direction... p_196962_1_)
public static DirectionProperty create(java.lang.String name, java.util.Collection<Direction> values)