apply

abstract fun apply(base: Double, modifiers: Collection<AttributeModifier>): Double

Applies this operation to the given base value, modifying it with the given modifiers, and returns the result.

Return

the resulting modified value

Parameters

base

the base value to modify

modifiers

the modifiers to apply