Interface NodeFollower
- All Known Implementing Classes:
FlyingNodeFollower,GroundNodeFollower,NoPhysicsNodeFollower,WaterNodeFollower
public interface NodeFollower
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the follower is at the specified pointvoidJumpdoubleGet the movement speed of the followervoidmoveTowards(@NotNull Point target, double speed, @NotNull Point lookAt) Move towards the specified point
-
Method Details
-
moveTowards
Move towards the specified point- Parameters:
target- the point to move towardsspeed- the speed to move atlookAt- the point to look at
-
jump
Jump -
isAtPoint
Check if the follower is at the specified point- Parameters:
point- the point to check- Returns:
- true if the follower is at the point
-
movementSpeed
double movementSpeed()Get the movement speed of the follower- Returns:
- the movement speed
-