|
|
Goal: crossbowAttack
|
|
|
--------------
|
|
|
|
|
|
## Description
|
|
|
Attack with a crossbow. Only Piglins and Pillagers can use crossbowAttack goal as long as they're holding a crossbow.
|
|
|
|
|
|
### Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|----------------|----------|------------------------------------|:-------:|
|
|
|
| speed | s | Movement speed modifier | 1 |
|
|
|
| attackradius | radius,r | The attack radius of this ai goal. | 8 |
|
|
|
|
|
|
### Attributes
|
|
|
> *This aigoal has no attributes*
|
|
|
|
|
|
### Examples
|
|
|
|
... | ... | @@ -20,5 +14,5 @@ ExampleMob: |
|
|
- crossbow HAND
|
|
|
AIGoalSelectors:
|
|
|
- clear
|
|
|
- crossbowAttack{speed=1;radius=15}
|
|
|
- crossbowAttack
|
|
|
``` |
|
|
\ No newline at end of file |