Changes
Page history
Removed attackReach option to meleeattack goal
authored
Mar 14, 2024
by
Phillip
Show whitespace changes
Inline
Side-by-side
Mobs/ai/goals/meleeattack.md
View page @
da6c48d9
...
@@ -2,17 +2,11 @@
...
@@ -2,17 +2,11 @@
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 |
|-----------|-----------|----------------------------------------------------------------------|---------|
| attackReach | | The reach of the attack | 4 |
## Examples
## Examples
```
yaml
```
yaml
ExampleMob
:
ExampleMob
:
Type
:
ZOMBIE
Type
:
ZOMBIE
AIGoalSelectors
:
AIGoalSelectors
:
-
clear
-
clear
-
meleeattack
{attackReach=6}
-
meleeattack
```
```
\ No newline at end of file