Effect Immunity (Power Type)
Prevents status effects from being applied to the entity that has the power.
Prevents status effects from being applied to the entity that has the power.
Type ID: apoli:effect_immunity
Fields
| Field | Type | Default | Description |
|---|---|---|---|
effect | Identifier | optional | If specified, only the status effect with this namespace and ID can not be applied to the entity that has the power. |
effects | Array of Identifiers | optional | If specified, only the status effects with the specified namespace and IDs can not be applied to the entity that has the power. |
inverted | Boolean | false | Determines whether to make the entity immune to the status effect(s) that aren’t specified. |
Examples
{
"type": "apoli:effect_immunity",
"effects": [
"minecraft:weakness",
"minecraft:strength"
]
} This example will make the entity immune to the Weakness and Strength status effects.