public static interface Pathfinder.PathResult
Modifier and Type | Method and Description |
---|---|
@Nullable Location |
getFinalPoint() |
@Nullable Location |
getNextPoint() |
int |
getNextPointIndex() |
@NotNull 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 @NotNull List<Location> getPoints()
getNextPointIndex()
int getNextPointIndex()
getPoints()
the entity
is trying to reach, or null if we are done with this pathfinding.@Nullable @Nullable Location getNextPoint()
Copyright © 2021. All rights reserved.