homing
Makes fired arrows home in on the nearest valid target within range.
Categories: combat
Required arguments
| Key(s) | Description | Type |
|---|
distance | The maximum range at which the arrow will lock on to a target. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
targets | A list of entity types the arrow will home in on. Leave empty to target all entities. | ENTITY_LIST | [] |
Trigger parameters required
Example
effects:
- id: homing
args:
distance: 10 + %level%
targets: <value> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |