Modify Status Effect Amplifier (Power Type)
Modifies how strong status effects are when they are applied.
Modifies the amplifier of status effects as they are applied to the holder. Amplifier 0 is level I, 1 is level II, and so on, so setting it to 0 means “always level I”.
Type ID: apoli:modify_status_effect_amplifier
Fields
| Field | Type | Default | Description |
|---|---|---|---|
modifier | Attribute Modifier | optional | A single modifier applied to the amplifier. |
modifiers | array of Attribute Modifier | optional | Several modifiers. |
status_effect | Identifier | optional | Restrict to one effect. |
status_effects | array of Identifier | [] | Restrict to several. Empty means every effect. |
Examples
Every harmful effect is knocked down to its weakest level:
{
"type": "apoli:modify_status_effect_amplifier",
"modifier": { "operation": "set_total", "value": 0 },
"status_effects": [
"minecraft:poison",
"minecraft:weakness",
"minecraft:mining_fatigue"
]
} A brewer whose own potions land one level higher:
{
"type": "apoli:modify_status_effect_amplifier",
"modifier": { "operation": "add_base_early", "value": 1 },
"status_effects": ["minecraft:strength", "minecraft:speed", "minecraft:regeneration"]
}