Class PathGenerator
java.lang.Object
net.minestom.server.entity.pathfinding.PathGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PPath
generate
(@NotNull Instance instance, @NotNull Pos orgStart, @NotNull Point orgTarget, double closeDistance, double maxDistance, double pathVariance, @NotNull BoundingBox boundingBox, boolean isOnGround, @NotNull NodeGenerator generator, @Nullable Runnable onComplete)
-
Constructor Details
-
PathGenerator
public PathGenerator()
-
-
Method Details
-
generate
@NotNull public static @NotNull PPath generate(@NotNull @NotNull Instance instance, @NotNull @NotNull Pos orgStart, @NotNull @NotNull Point orgTarget, double closeDistance, double maxDistance, double pathVariance, @NotNull @NotNull BoundingBox boundingBox, boolean isOnGround, @NotNull @NotNull NodeGenerator generator, @Nullable @Nullable Runnable onComplete)
-