Minecraft PC IP: play.cubecraft.net

Priley

Forum Professional
Jul 6, 2015
4,118
16,205
679
22
reprotland
I checked out the r/MinecraftCommands Discord server and saw someone was in need of help. They were asking how to have entities walk a custom path set by the player. I decided to help them out and this is what I created!


The way I have done this was actually fairly easy! I just have four repeating command blocks that are constantly being powered. Each command block is responsible for making the villagers 'walk' in one direction

Each individual command block detects when a villager walks over a magenta glazed terracotta block with a specific block value and then teleports the villager in the direction the arrow is pointing (to make it easier for players to create paths). Yes, this does indeed mean that four command blocks allow for infinite paths to be created, no matter how long or complex!

One thing though: if you have multiple villagers on one path, then they might shove each other off, and then they'll just wander around (that is if they don't coincidentally step back on the path :P)

Thanks for reading! :)​
 
Members Online

Latest posts

Latest profile posts

:3
1000171743.jpg

Anyway I would be less online in the forums and on minecraft due to exams. Now you might be asking, "Didn't it happen like a while ago?" Yes, but the school has to make me suffer by doing it every 2-3 months, so don't mind if I casually leave for like 2 weeks. Just need to suffer till end of may :D
Daily Question 111. ⭐

What do you think the world will be like in the future?
Livvv wrote on sebasxd12's profile.
Thanks for the follow! ^-^
Livvv wrote on spuuuni's profile.
Thanks for the follow! ^-^
who agrees that owner team of cc should see the frace thier mods are doing by ignoring/having fun of our suggestion and donot accept it either way
Top Bottom