Skip to main content

Effect Amplifier Addition

The arc:effect_amplifier_addition reward type increases the amplifier of an existing effect on the player.

Parameters

ParameterTypeRequiredDefaultDescription
additionintRequired-No default valueThe amount to add to the effect's amplifier.

Example

The following example will increase the amplifier of any Speed effect the player receives by 1.

data/my_datapack/arc/boost_speed.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_effect_added",
"conditions": [
{
"type": "arc:effect",
"effect": "minecraft:speed"
}
],
"rewards": [
{
"type": "arc:effect_amplifier_addition",
"addition": 1
}
]
}

## Compatible Action Types

<CompatibleActionTypes />