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

FieldTypeDefaultDescription
modifierAttribute ModifieroptionalA single modifier applied to the amplifier.
modifiersarray of Attribute ModifieroptionalSeveral modifiers.
status_effectIdentifieroptionalRestrict to one effect.
status_effectsarray 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"]
}