Interface Attribute
- All Superinterfaces:
Keyed
- All Known Implementing Classes:
EntityAttribute
Represents an ordinary Attribute of a Mob
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Fetches the Default value of this Attributedouble
Fetches the maximum value of this Attributedouble
Fetches the minimum value of this Attribute.boolean
Whether this Attribute will sync and appear on the client's side.
-
Method Details
-
getMinValue
double getMinValue()Fetches the minimum value of this Attribute.- Returns:
- Minimum value
-
getMaxValue
double getMaxValue()Fetches the maximum value of this Attribute- Returns:
- Maximum value
-
getDefaultValue
double getDefaultValue()Fetches the Default value of this Attribute- Returns:
- Default value
-
isClientSide
boolean isClientSide()Whether this Attribute will sync and appear on the client's side.- Returns:
- true if also client side, else false
-