Package | Description |
---|---|
com.destroystokyo.paper.entity |
Modifier and Type | Method | Description |
---|---|---|
@Nullable Pathfinder.PathResult |
Pathfinder.findPath(@NotNull 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.
|
@Nullable Pathfinder.PathResult |
Pathfinder.findPath(@NotNull Location loc) |
Calculates a destination for the Entity to navigate to, but does not set it
as the current target.
|
@Nullable Pathfinder.PathResult |
Pathfinder.getCurrentPath() |
Modifier and Type | Method | Description |
---|---|---|
default boolean |
Pathfinder.moveTo(@NotNull Pathfinder.PathResult path) |
Takes the result of a previous pathfinding calculation and sets it
as the active pathfinding with default speed.
|
boolean |
Pathfinder.moveTo(@NotNull 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.