@Deprecated public class DisplacementProperty extends AbstractProperty<String,Set<BlockType>>
Property.Operator
operator, value
Constructor and Description |
---|
DisplacementProperty(Set<BlockType> value)
Deprecated.
Creates a
DisplacementProperty with a specific set of
BlockType s. |
DisplacementProperty(Set<BlockType> value,
Property.Operator op)
Deprecated.
Creates a
DisplacementProperty with a specific set of
BlockType s. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o)
Deprecated.
|
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public DisplacementProperty(@Nullable Set<BlockType> value)
DisplacementProperty
with a specific set of
BlockType
s.value
- The displaceable block typespublic DisplacementProperty(@Nullable Set<BlockType> value, Property.Operator op)
DisplacementProperty
with a specific set of
BlockType
s.value
- The displaceable block typesop
- The operator to use when comparing against other propertiespublic int compareTo(Property<?,?> o)