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

FieldTypeDefaultDescription
effectIdentifieroptionalIf specified, only the status effect with this namespace and ID can not be applied to the entity that has the power.
effectsArray of IdentifiersoptionalIf specified, only the status effects with the specified namespace and IDs can not be applied to the entity that has the power.
invertedBooleanfalseDetermines 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.