Skip to content
GitLab
Explore
Sign in
Register
MythicCraft
MythicMobs
Wiki
Mobs
Ai
Targets
nearestconditionaltarget
nearestconditionaltarget
· Changes
Page history
oopsies
authored
Oct 23, 2023
by
Amy
Show whitespace changes
Inline
Side-by-side
Mobs/ai/targets/nearestconditionaltarget.md
View page @
8c6979f1
...
@@ -15,7 +15,7 @@ Would cause the mob to target entities holding Iron Ingots.
...
@@ -15,7 +15,7 @@ Would cause the mob to target entities holding Iron Ingots.
```
yaml
```
yaml
ExampleMob
:
ExampleMob
:
Type
:
ZOMBIE
Type
:
ZOMBIE
AI
Goal
Selectors
:
AI
Target
Selectors
:
-
clear
-
clear
-
movetowardsconditional{mr=true;ms=true;conditions=[ - holding{m=IRON_INGOT}
true
]}
-
movetowardsconditional{mr=true;ms=true;conditions=[ - holding{m=IRON_INGOT}
true
]}
```
```
\ No newline at end of file