Effect Immunity

Power Type.

Prevents status effects from being applied to the player.

Type ID: origins:effect_immunity

Fields

Field Type Default Description
effect Identifier If specified, the effect with this ID can not be applied to the player.
effects Array of Identifiers If specified, the effects with these IDs can not be applied to the player.

Example

{
    "type": "origins:effect_immunity",
    "effects": [
        "minecraft:weakness",
        "minecraft:strength"
    ]
}

This power would make the player immune to the weakness and strength potion effects.