LongRangePathfindingHandle

public final class LongRangePathfindingHandle implements PathfindingHandle

Deep navigation module over one native single-destination handle. It owns snapshot capture, asynchronous long-range planning, rolling horizons, bounded native legs, and replanning.

Constructors

Link copied to clipboard
public void LongRangePathfindingHandle(LivingEntity livingEntity, PathfindingHandle nativeHandle)

Functions

Link copied to clipboard
public void clearDestination()
Clears the destination and stops only the native navigation installed by this handle.
Link copied to clipboard
public void close()
Idempotently unregisters the goal and releases native references.
Link copied to clipboard
public boolean moveTo(Location target, double requestedSpeedModifier)
Replaces the current destination.
Link copied to clipboard
public List<Location> routePreview()
Returns the current resolved route for diagnostics and authoring previews.
Link copied to clipboard
Returns the latest state observed by the native goal.

Inherited functions

Link copied to clipboard
public abstract void close()