NMS Villager Pathfinding

Discussion in 'Plugin Development' started by MckenzieSkullKid, Jan 19, 2015.

Thread Status:
Not open for further replies.
  1. I am currently creating a plugin in which I am creating my own version of the villager. I am trying to use the PathFinderGoalAvoidTarget pathfinding however I am unaware of how to make it so that the Villager would avoid the player?

    If anyone could tell me how to do this I would be very grateful
     
  2. Offline

    Avery246813579

    @MckenzieSkullKid
    I don't really understand what you are trying to say, but if the villager is targeting a player. Inside a EntityTargetEvent, check if the entity getting targeted is a player and that the targeter is a villager, and cancel the event.
     
  3. Offline

    Skionz

    @Avery246813579 He wants to make his own villager with NMS pathfinding.
     
Thread Status:
Not open for further replies.

Share This Page