Changes
Page history
Create Mobs/ai/goals/movetoblock
authored
Dec 01, 2022
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Mobs/ai/goals/movetoblock.md
0 → 100644
View page @
e75e9c2c
Goal: Move To Block
--------------
Makes the mob move towards the specified block.
### Attributes
| Attribute | Aliases | Description | Default |
|----------------|----------|-----------------------------------------------|:-------:|
| material | | The block type to target | |
| radius | | the radius in which to search for the block | |
| radiusy | | the y radius in which to search for the block | |
| spee | | The attack radius of this ai goal. | |
### Examples
```
yaml
ExampleMob
:
Type
:
Pig
AIGoalSelectors
:
-
clear
-
moveToBlock{material=STONE;radius=8;radiusY=2;speed=0.9}
```
\ No newline at end of file