public class UnbreakableProperty extends BooleanProperty
Property.Operator
operator, value
Constructor and Description |
---|
UnbreakableProperty(boolean value)
Creates a new
UnbreakableProperty with the provided
value . |
UnbreakableProperty(boolean value,
Property.Operator operator)
|
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public UnbreakableProperty(boolean value)
UnbreakableProperty
with the provided
value
.value
- The value whether something is unbreakable or notpublic UnbreakableProperty(boolean value, Property.Operator operator)
value
- The value whether something is unbreakable or notoperator
- The operator for comparisons