Area of Effect
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
}