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 distance from which the mob starts shooting | 8 |
Examples
ExampleMob:
Type: Piglins
Equipment:
- crossbow HAND
AIGoalSelectors:
- clear
- crossbowAttack