| Package | Description |
|---|---|
| com.destroystokyo.paper.entity |
| Modifier and Type | Method | Description |
|---|---|---|
Pathfinder.PathResult |
Pathfinder.findPath(LivingEntity target) |
Calculates a destination for the Entity to navigate to to reach the target entity,
but does not set it as the current target.
|
Pathfinder.PathResult |
Pathfinder.findPath(Location loc) |
Calculates a destination for the Entity to navigate to, but does not set it
as the current target.
|
Pathfinder.PathResult |
Pathfinder.getCurrentPath() |
| Modifier and Type | Method | Description |
|---|---|---|
default boolean |
Pathfinder.moveTo(Pathfinder.PathResult path) |
Takes the result of a previous pathfinding calculation and sets it
as the active pathfinding with default speed.
|
boolean |
Pathfinder.moveTo(Pathfinder.PathResult path,
double speed) |
Takes the result of a previous pathfinding calculation and sets it
as the active pathfinding,
|
Copyright © 2020. All rights reserved.