public static class Constants.AttributeModifierOperation
extends java.lang.Object
AttributeModifier.AttributeModifier(String, double, int)ModifiableAttributeInstance.computeValue()ADD, ADD_MULTIPLE, MULTIPLY| Modifier and Type | Field and Description |
|---|---|
static int |
ADD
The modifier value is added onto the total value
|
static int |
ADD_MULTIPLE
The modifier value is multiplied by the original base value then added onto the total value
|
static int |
MULTIPLY
The total value is multiplied by 1 + the modifier value
|
| Constructor and Description |
|---|
AttributeModifierOperation() |
public static final int ADD
public static final int ADD_MULTIPLE
public static final int MULTIPLY