public class ArmorTypeProperty extends AbstractProperty<String,ArmorType>
Property.Operatoroperator, value| Constructor and Description |
|---|
ArmorTypeProperty(ArmorType value)
Construct a new
ArmorTypeProperty with the desired
ArmorType. |
ArmorTypeProperty(ArmorType value,
Property.Operator op)
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toStringpublic ArmorTypeProperty(@Nullable ArmorType value)
ArmorTypeProperty with the desired
ArmorType.value - The armor type to usepublic ArmorTypeProperty(@Nullable ArmorType value, @Nullable Property.Operator op)
value - The armor type to useop - The operator to use for comparisonspublic int compareTo(Property<?,?> o)