Clear Effect

Entity Action.

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 String If specified, the effect with this ID will be cleared. If not specified, all effects will be cleared.

Example

"entity_action": {
  "type": "origins:clear_effect",
  "effect": "minecraft:poison"
}

This action clears a poison effect from an entity.