Changes
Page history
Update crossbowattack
authored
Dec 31, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Mobs/ai/goals/crossbowattack.md
View page @
32df9296
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