Interface Attribute
- All Superinterfaces:
Keyed
- All Known Implementing Classes:
EntityAttribute
Represents an ordinary Attribute of a Mob
-
Method Summary
Modifier and TypeMethodDescriptiondoubleFetches the Default value of this AttributedoubleFetches the maximum value of this AttributedoubleFetches the minimum value of this Attribute.booleanWhether 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
-