Effect Immunity
Prevents status effects from being applied to the entity that has the power.
Type ID: origins:effect_immunity
Fields
| Field | Type | Default | Description |
|---|---|---|---|
effect |
Identifier | If specified, the status effect with this namespace and ID can not be applied to the entity that has the power. | |
effects |
Array of Identifiers | If specified, the status effects with the specified namespace and IDs can not be applied to the entity that has the power. |
Examples
{
"type": "origins:effect_immunity",
"effects": [
"minecraft:weakness",
"minecraft:strength"
]
}
This example will make the entity immune to the Weakness and Strength status effects.