5: Making a mob follow a path [Minecraft Map Making]
Ep5: A way to define a path for a mob to follow.
Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG
Udemy notes. YouTube formatting may make some of these wrong. :)
Commands used:
Create a vllager tagged controlMe:
summon villager -20 56 -1 {Tags:["controlMe"]}
Kill the villager:
kill @e[tag=controlMe]
Set block to Red Wool:
setblock -17 54 3 red_wool
Set block to Green Wool:
setblock -17 54 3 green_wool
Check for Red Wool and walk north if found:
execute as @e[tag=controlMe] at @s if block ~ ~-2 ~ red_wool run data merge entity @s {Motion:[0.0,-0.2,-0.2],Rotation:[-180f,0f]}
Check for Yellow Wool and walk east if found:
execute as @e[tag=controlMe] at @s if block ~ ~-2 ~ yellow_wool run data merge entity @s {Motion:[0.2,-0.2,0.0],Rotation:[-90f,0f]}
Check for Blue Wool and walk south if found:
execute as @e[tag=controlMe] at @s if block ~ ~-2 ~ blue_wool run data merge entity @s {Motion:[0.0,-0.2,0.2],Rotation:[0f,0f]}
Check for Green Wool and walk west if found:
execute as @e[tag=controlMe] at @s if block ~ ~-2 ~ green_wool run data merge entity @s {Motion:[-0.2,-0.2,0.0],Rotation:[90f,0f]}
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.