|
|
|
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 |