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