|
|
|
Goal: meleeAttack
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Causes the mob to move to and melee attack its target
|
|
|
|
|
|
|
|
### Attributes
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|----------------|----------|-----------------------------------------|:-------:|
|
|
|
|
| speed | s | Movement speed modifier of this ai goal | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Examples
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
ExampleMob:
|
|
|
|
Type: Skeleton
|
|
|
|
AIGoalSelectors:
|
|
|
|
- clear
|
|
|
|
- meleeattack{speed=1}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |