ModifierOperation

fun interface ModifierOperation

An operation that can be applied to attribute modifiers.

See BasicModifierOperation for the basic built-in operations.

Inheritors

Functions

Link copied to clipboard
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.