public class PoweredProperty extends BooleanProperty
Property.Operator
operator, value
Constructor and Description |
---|
PoweredProperty(boolean value)
Creates a new
PoweredProperty . |
PoweredProperty(boolean value,
Property.Operator operator)
Creates a new
PoweredProperty . |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public PoweredProperty(boolean value)
PoweredProperty
.value
- The value of whether the block is poweredpublic PoweredProperty(boolean value, Property.Operator operator)
PoweredProperty
.value
- The value of whether the block is poweredoperator
- The operator for comparisons