Class PathGenerator
java.lang.Object
net.minestom.server.entity.pathfinding.PathGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PPathgenerate(@NotNull Instance instance, @NotNull net.minestom.server.coordinate.Pos orgStart, @NotNull net.minestom.server.coordinate.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 net.minestom.server.coordinate.Pos orgStart, @NotNull @NotNull net.minestom.server.coordinate.Point orgTarget, double closeDistance, double maxDistance, double pathVariance, @NotNull @NotNull BoundingBox boundingBox, boolean isOnGround, @NotNull @NotNull NodeGenerator generator, @Nullable @Nullable Runnable onComplete)
-