|
|
Goal: rangedAttack
|
|
|
--------------
|
|
|
|
|
|
*Aliases*: arrowAttack
|
|
|
|
|
|
A basic ranged attack that ranged entities can use.
|
|
|
|
|
|
### Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|----------------|----------|--------------------------------------------|:-------:|
|
|
|
| speed | s | The attack speed modifier of this ai goal. | 1 |
|
|
|
| attackspeedmax | smax | | 60 |
|
|
|
| attackspeedmin | amin | | 20 |
|
|
|
| attackradius | radius,r | | 15 |
|
|
|
|
|
|
|
|
|
### Examples
|
|
|
|
|
|
```yaml
|
|
|
ExampleMob:
|
|
|
Type: Skeleton
|
|
|
AIGoalSelectors:
|
|
|
- clear
|
|
|
- rangedAttack{speed=1;smax=60;amin=20;radius=15}
|
|
|
``` |
|
|
\ No newline at end of file |