Interface RangedAttributeType
-
- All Superinterfaces:
AttributeType
,DefaultedRegistryValue
public interface RangedAttributeType extends AttributeType
Represents anAttributeType
with a ranged value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
maximumValue()
Gets the maximum value an attribute of this type can hold.double
minimumValue()
Gets the minimum value an attribute of this type can hold.-
Methods inherited from interface org.spongepowered.api.entity.attribute.type.AttributeType
clampValue, defaultValue
-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-
-
-
Method Detail
-
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.
-
-