Interface AttributeInstance


  • public interface AttributeInstance
    Represents a mutable instance of an attribute and its associated modifiers and values.
    • Method Detail

      • getBaseValue

        double getBaseValue()
        Base value of this instance before modifiers are applied.
        Returns:
        base value
      • setBaseValue

        void setBaseValue​(double value)
        Set the base value of this instance.
        Parameters:
        value - new base value
      • getValue

        double getValue()
        Get the value of this instance after all associated modifiers have been applied.
        Returns:
        the total attribute value
      • getDefaultValue

        double getDefaultValue()
        Gets the default value of the Attribute attached to this instance.
        Returns:
        server default value