Modifier Operation - apace100/origins-fabric GitHub Wiki

An operation used by Attribute Modifiers. Describes which calculation will be used to modify the value. Either:

addition: Adds (or subtracts) the modifier value to the base: NewValue = BaseValue + ModifierValue.

multiply_base: Adds (or subtracts) a portion of the base value: NewValue = CurrentValue + (BaseValue * ModifierValue)

multiply_total: Multiplies the total value by this value: NewTotalValue = TotalValue * (1 + ModifierValue)