... | @@ -2,11 +2,19 @@ |
... | @@ -2,11 +2,19 @@ |
|
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 |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| speedmodifier | speed, s | The speed modifier for the mob while this action is being taken | 1 |
|
|
|
|
| followUnseen | fu | Should the target be followed even if it is hidden from view | false |
|
|
|
|
| attackReachModifier | attackReach, ar | The attack reach modifier | 4 |
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
ExampleMob:
|
|
ExampleMob:
|
|
Type: ZOMBIE
|
|
Type: ZOMBIE
|
|
AIGoalSelectors:
|
|
AIGoalSelectors:
|
|
- clear
|
|
- clear
|
|
- meleeattack
|
|
- meleeattack{s=1;fu=false;ar=4.0}
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |