java.lang.Object
net.citizensnpcs.api.astar.pathfinder.Path
All Implemented Interfaces:
Plan

public class Path extends Object implements Plan
  • Constructor Details Link icon

  • Method Details Link icon

    • getBlocks Link icon

      public List<Block> getBlocks(World world)
    • getCurrentVector Link icon

      public Vector getCurrentVector()
    • getPath Link icon

      public Iterable<Vector> getPath()
    • isComplete Link icon

      public boolean isComplete()
      Specified by:
      isComplete in interface Plan
    • run Link icon

      public void run(NPC npc)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • update Link icon

      public void update(Agent agent)
      Description copied from interface: Plan
      Updates the plan. Should be run ideally every tick.
      Specified by:
      update in interface Plan