Skip to main content

Clear Effect (Entity Action Type)

Removes one type of status effect, or every status effect, from a living entity.

Type ID: apoli:clear_effect

Fields

FieldTypeDefaultDescription
effectIdentifieroptionalThe status effect to clear. Leave it out to clear every status effect.

Examples

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

This clears Poison from the entity.