Interface AttributeType

    • Method Detail

      • defaultValue

        double defaultValue()
        Gets the default value of this attribute type before any AttributeModifiers are applied.
        Returns:
        The default value of this attribute type.
      • clampValue

        double clampValue​(double value)
        Clamps a value to be within the bounds of this attribute type.
        Parameters:
        value - The value to clamp
        Returns:
        A value within this attribute type's bounds.