Modify Status Effect Amplifier
Modifies the amplifier of the specified status effect upon receiving the specified status effect.
Type ID: origins:modify_status_effect_amplifier
Fields
Field | Type | Default | Description |
---|---|---|---|
status_effect |
Identifier | optional | If specified, only this status effect will have its amplifier modified upon being received. |
status_effects |
Array of Identifiers | optional | If specified, only these status effect(s) will have its amplifier modified upon being received. |
modifier |
Attribute Modifier | optional | If specified, this modifier will be applied to the amplifier of the specified status effect(s). |
modifiers |
Array of Attribute Modifiers | optional | If specified, these modifiers will be applied to the amplifier of the specified status effect(s). |
Examples
{
"type": "origins:modify_status_effect_amplifier",
"status_effect": "minecraft:speed",
"modifier": {
"operation": "add_base_early",
"value": 1
}
}
This example will modify the amplifier of the Speed status effect to have a 1 level increase, making the entity that has the power receive Speed II if the entity were to receive Speed I, etc.