public static interface Pathfinder.PathResult
| Modifier and Type | Method and Description |
|---|---|
Location |
getFinalPoint() |
Location |
getNextPoint() |
int |
getNextPointIndex() |
List<Location> |
getPoints()
All currently calculated points to follow along the path to reach the destination location
Will return points the entity has already moved past, see
getNextPointIndex() |
@NotNull List<Location> getPoints()
getNextPointIndex()int getNextPointIndex()
getPoints() the entity
is trying to reach, or null if we are done with this pathfinding.@Nullable Location getNextPoint()
@Nullable Location getFinalPoint()
Copyright © 2019. All rights reserved.