Cancel a Nms entity's pathfinding.

Discussion in 'Spigot Plugin Development' started by xBallisticBlazex, Sep 12, 2017.

  1. Hello.
    I can set the pathfinding of an entity with e.getNavigation().a().

    But how would I clear the navigation so an entity will just fallback to the first Pathfinder to take control such as the random stroll?

    I tried e.getNavigation().o() but it doesn't seem to work.

    Thanks!
     
  2. Bump. Can anyone help me?
     
  3. I assumed it would be quite simple...
    There has to be a variable somewhere I can change to clear an entities path finding?