How To Make Villagers Follow You? - Minecraft: Java Edition

Help Sign In/Register
  • Home
  • Minecraft Forum
  • Minecraft: Java Edition
  • Redstone Discussion and Mechanisms
  • Commands, Command Blocks and Functions
  • How to make villagers follow you?
  • #1 Nov 16, 2016 Phomper112 Phomper112
    • View User Profile
    • View Posts
    • Send Message
    View Phomper112's Profile
    • Stone Miner
    • Location: Adelaide
    • Join Date: 3/9/2016
    • Posts: 69
    • Minecraft: ThunderBolt832
    • Xbox: Nope.
    • PSN: Nope.
    • Member Details

    I am making an adventure map, and in this apocalypse themed map, you will find survivors throughout the map that will follow you, where you must lead them to the safety of bunkers.

    So... how can I make villager's follow you when you come within a radius of them? no matter if you climb up inside a building, or die, or... yeah, pretty much everywhere until you get to the bunker.

    Is this possible?

    Rollback Post to Revision RollBack
  • #2 Nov 17, 2016 YMbrothers YMbrothers
    • View User Profile
    • View Posts
    • Send Message
    View YMbrothers's Profile
    • IRC HACKER
    • Location: 3=1+1 erehw ecalP A
    • Join Date: 8/31/2015
    • Posts: 2,294
    • Location: A place where 1+1=3
    • Minecraft: YMbrothers
    • Member Details

    The following entities will follow another entities in certain condition:

    Tamed wolves following the tamer,

    tamed cats following the tamer,

    baby animals following the corresponding adult,

    hostile melee mobs (well, invisible and weakened zombie, get it?) following their target,

    leashed mobs following the leash(-er) <-wut iz tis... .

    If you make them invisible and let the villagers constantly /tp or /teleport to that entity, it'll work.

    Or, with the easiest and ugliest method:

    give them a score or tag when the player is nearby,

    and /tp or /teleport to the player if it's out of radius.

    I.E. /execute @a ~ ~ ~ /teleport @e[tag=following(I made this tag, remember.)] ~ ~ ~

    Rollback Post to Revision RollBack Maps & Minigames 1. [Map] Troublemaker 2. [Minigame] Freezing Cold Youtube Channel Channel Link: https://www.youtube.com/channel/UCYQdvrn2NmA-l-B91DfT6IQ You're welcomed to private message me for help here. And tell the world that 1+1=2
  • #3 Nov 22, 2016 Phomper112 Phomper112
    • View User Profile
    • View Posts
    • Send Message
    View Phomper112's Profile
    • Stone Miner
    • Location: Adelaide
    • Join Date: 3/9/2016
    • Posts: 69
    • Minecraft: ThunderBolt832
    • Xbox: Nope.
    • PSN: Nope.
    • Member Details

    Would it work if you had the villager name (in this case survivor or such) and teleport them to @p because their would only be one player?

    And when you get to the place where they stop following you, I just cut the redstone that connects the command block (I use clocks as easiest thing)? and then reconnect it when I want?

    Last edited by Phomper112: Nov 22, 2016 Rollback Post to Revision RollBack
  • #4 Nov 22, 2016 YMbrothers YMbrothers
    • View User Profile
    • View Posts
    • Send Message
    View YMbrothers's Profile
    • IRC HACKER
    • Location: 3=1+1 erehw ecalP A
    • Join Date: 8/31/2015
    • Posts: 2,294
    • Location: A place where 1+1=3
    • Minecraft: YMbrothers
    • Member Details

    Basically, yes.

    Although, again, an ugly way.

    Rollback Post to Revision RollBack Maps & Minigames 1. [Map] Troublemaker 2. [Minigame] Freezing Cold Youtube Channel Channel Link: https://www.youtube.com/channel/UCYQdvrn2NmA-l-B91DfT6IQ You're welcomed to private message me for help here. And tell the world that 1+1=2
  • To post a comment, please login.
Posts Quoted: Reply Clear All Quotes
  • Home
  • Minecraft Forum
  • Minecraft: Java Edition
  • Redstone Discussion and Mechanisms
  • Commands, Command Blocks and Functions
  • How to make villagers follow you?
Previous Thread Jump to Forum Next Thread

Tag » How To Make Villagers Follow You