Area of Effect

Entity Action

Fires an action on entities within the area of effect.

Type ID: ope:area_of_effect

Fields

Field Type Default Description
radius Integer 16 The block radius to apply to the effects in.
action Entity Actions The action to apply to every entity within the radius.
condition Entity Conditions optional The condition for whether to include an entity for the action.
include_target Boolean false Whether to include the entity themselves when applying the action.

Example

"entity_action": {
    "type": "ope:area_of_effect",
    "radius": 32,
    "action": {
        "type": "origins:set_on_fire",
        "duration": 8
    },
    "include_target": true
}
This action will set everyone within 32 blocks of the entity on fire, including the entity themselves.