Update nearestconditionaltarget authored by Lxlp's avatar Lxlp
...@@ -8,7 +8,8 @@ Causes the mob to target based on conditions. ...@@ -8,7 +8,8 @@ Causes the mob to target based on conditions.
| interval | int,i | Determines the chance for the goal to be ran | 0 | | interval | int,i | Determines the chance for the goal to be ran | 0 |
| mustsee | ms | Whether the mob has to be able to see the target | true | | mustsee | ms | Whether the mob has to be able to see the target | true |
| mustreach | mr | Whether the mob has to be able to reach the target | false | | mustreach | mr | Whether the mob has to be able to reach the target | false |
| conditions | | The conditions to use | | | conditions | c, cond, targetconditions | The conditions to use | |
## Examples ## Examples
Would cause the mob to target entities holding Iron Ingots. Would cause the mob to target entities holding Iron Ingots.
...@@ -19,3 +20,8 @@ ExampleMob: ...@@ -19,3 +20,8 @@ ExampleMob:
- clear - clear
- nearestconditionaltarget{mr=true;ms=true;conditions=[ - holding{m=IRON_INGOT} true ]} - nearestconditionaltarget{mr=true;ms=true;conditions=[ - holding{m=IRON_INGOT} true ]}
``` ```
## Aliases
- [x] nearestconditional
- [x] nearestif
\ No newline at end of file