Interface RangedAttributeType
- All Superinterfaces:
AttributeType, DefaultedRegistryValue<AttributeType>
Represents an
AttributeType with a ranged value.-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the maximum value an attribute of this type can hold.doubleGets the minimum value an attribute of this type can hold.Methods inherited from interface AttributeType
clampValue, defaultValueMethods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
minimumValue
double minimumValue()Gets the minimum value an attribute of this type can hold.- Returns:
- The minimum value an attribute could hold.
-
maximumValue
double maximumValue()Gets the maximum value an attribute of this type can hold.- Returns:
- The maximum value an attribute could hold.
-