Solved How can I make a entity fallow a player?

Discussion in 'Plugin Development' started by MrTurtle, Apr 22, 2014.

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

    MrTurtle

    Hello im working on a plugin and I wanted to know how can I make a entity fallow a player?
     
  2. Best solution, Use Citizens2API, require Citizens as a dependency, and use npcName.setTarget(EntityYouWantToTarget);
    Otherwise you will have to look at tutorials that make you rewrite a LOT of code.
    [Edit] I think the API is just called CitizensAPI, but the newest Citizens plugin is called Citizens2 :D
     
  3. Offline

    MrTurtle

  4. Np, glad I could help :D I learned that when coding my own plugin because the tutorials involved things WAYYY over my head... Good luck
     
  5. Offline

    Codex Arcanum

    I'm not sure that any entities in Minecraft can successfully harrow a player but not plant crops on them.

    [/badjoke]
     
    amhokies likes this.
Thread Status:
Not open for further replies.

Share This Page