Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.pathfinding
Class Path

    java.lang.Object
      net.minecraft.pathfinding.Path

    public class Path

extends Object

Constructor Summary
`Path()`

Method Summary
`PathPoint` | `addPoint(PathPoint par1PathPoint)` Adds a point to the path
`void` | `changeDistance(PathPoint par1PathPoint, float par2)` Changes the provided point's distance to target
`void` | `clearPath()` Clears the path
`PathPoint` | `dequeue()` Returns and removes the first point in the path
`boolean` | `isPathEmpty()` Returns true if this path contains no points

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Path

    public Path()

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD