Clear Effect
Removes one specific type of status effect, or all status effects, from a living entity.
Type ID: origins:clear_effect
Fields
Field | Type | Default | Description |
---|---|---|---|
effect |
Identifier | optional | If specified, the status effect with this namespace and ID will be cleared. If not specified, all status effects will be cleared. |
Examples
"entity_action": {
"type": "origins:clear_effect",
"effect": "minecraft:poison"
}
This example will clear the Poison status effect from the entity.