Make Mobs Follow you!

Discussion in 'Plugin Development' started by Jatoc, Jun 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Jatoc

    I've managed to get my custom mobs to spawn, and whatnot by following Jacek's and Ivan's tutorials, but I want to create a custom zombie that follows you around like a tamed wolf.

    I'm looking through
    https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/PathfinderGoalFollowOwner.java

    The PathfinderGoalFollowOwner.java to see if I can setup my own Pathfinder but there's a ridiculous amount of code that I don't understand. Can anyone help me figure out how to apply "PathfinderGoalFollowOwner" to a zombie? (It's okay if the owner is hard-coded in, and the entity will simply be spawned tame: e.g. "/spawntamedzombie Jatoc" would spawn a zombie with an owner of "Jatoc" and follow Jatoc around in the same way a tamed wolf/cat would.
     
Thread Status:
Not open for further replies.

Share This Page