Class Path

java.lang.Object
net.minecraft.src.Path

public class Path extends Object
  • Constructor Details

    • Path

      public Path()
  • Method Details

    • addPoint

      public PathPoint addPoint(PathPoint par1PathPoint)
      Adds a point to the path
    • clearPath

      public void clearPath()
      Clears the path
    • dequeue

      public PathPoint dequeue()
      Returns and removes the first point in the path
    • changeDistance

      public void changeDistance(PathPoint par1PathPoint, float par2)
      Changes the provided point's distance to target
    • isPathEmpty

      public boolean isPathEmpty()
      Returns true if this path contains no points