Package net.citizensnpcs.npc.ai
Class FlyingAStarNavigationStrategy
java.lang.Object
net.citizensnpcs.api.ai.AbstractPathStrategy
net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- All Implemented Interfaces:
- PathStrategy
- 
Constructor SummaryConstructorsConstructorDescriptionFlyingAStarNavigationStrategy(NPC npc, Iterable<Vector> path, NavigatorParameters params) FlyingAStarNavigationStrategy(NPC npc, Location dest, NavigatorParameters params) 
- 
Method SummaryMethods inherited from class net.citizensnpcs.api.ai.AbstractPathStrategyclearCancelReason, getCancelReason, getTargetType, setCancelReason
- 
Constructor Details
- 
Method Details- 
getCurrentDestination- Returns:
- Gets the current movement destination
 
- 
getPath- Returns:
- A copy of the current path, if any
 
- 
getTargetAsLocation- Returns:
- Gets the target destination location
 
- 
setPlan
- 
stoppublic void stop()Description copied from interface:PathStrategyForcibly stops pathfinding. Note that this method does not necessarily set the cancel reason.
- 
updatepublic boolean update()Description copied from interface:PathStrategyUpdates and runs the pathfinding strategy on its current NPC and destination.- Returns:
- Whether pathfinding has completed
 
 
-