Changes
Page history
Added goal arguments to crossbowattack
authored
Mar 08, 2022
by
Phillip
Hide whitespace changes
Inline
Side-by-side
Mobs/ai/goals/crossbowattack.md
0 → 100644
View page @
fb2a2053
Goal: crossbowAttack
--------------
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 | The attack speed modifier of this ai goal. | 1 |
| attackradius | radius,r | The attack radius of this ai goal. | 8 |
### Examples
```
yaml
ExampleMob
:
Type
:
Piglins
Equipment
:
-
crossbow HAND
AIGoalSelectors
:
-
clear
-
crossbowAttack{speed=1;radius=15}
```
\ No newline at end of file