Package eu.sculkpowered.server.attribute
Interface AttributeValue
public interface AttributeValue
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModifier
(@NotNull AttributeModifier modifier) double
Gets the base value.void
baseValue
(double value) Sets the base value.double
void
removeModifier
(@NotNull AttributeModifier modifier)
-
Method Details
-
baseValue
void baseValue(double value) Sets the base value.- Parameters:
value
- the new base value- Since:
- 1.0.0
-
baseValue
double baseValue()Gets the base value.- Returns:
- the base value
- Since:
- 1.0.0
-
addModifier
- Since:
- 1.0.0
-
removeModifier
- Since:
- 1.0.0
-
calculatedValue
double calculatedValue()- Returns:
- the calculated value
- Since:
- 1.0.0
-