public class DisplacementProperty extends AbstractProperty<String,Set<BlockType>>
Property.Operator
operator, value
Constructor and Description |
---|
DisplacementProperty(Set<BlockType> value)
Creates a
DisplacementProperty with a specific set of
BlockType s. |
DisplacementProperty(Set<BlockType> value,
Property.Operator op)
Creates a
DisplacementProperty with a specific set of
BlockType s. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches
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)