Update crossbowattack authored by Lxlp's avatar Lxlp
Goal: crossbowAttack ## Description
--------------
Attack with a crossbow. Only Piglins and Pillagers can use crossbowAttack goal as long as they're holding a crossbow. 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 ### Examples
...@@ -20,5 +14,5 @@ ExampleMob: ...@@ -20,5 +14,5 @@ ExampleMob:
- crossbow HAND - crossbow HAND
AIGoalSelectors: AIGoalSelectors:
- clear - clear
- crossbowAttack{speed=1;radius=15} - crossbowAttack
``` ```
\ No newline at end of file