Uses of Interface
com.destroystokyo.paper.entity.Pathfinder.PathResult
Packages that use Pathfinder.PathResult
Package
Description
Entity pathfinding, ranged attack and targeting API.
-
Uses of Pathfinder.PathResult in com.destroystokyo.paper.entity
Methods in com.destroystokyo.paper.entity that return Pathfinder.PathResultModifier and TypeMethodDescriptiondefault @Nullable Pathfinder.PathResultCalculates a destination for the Entity to navigate to reach the target entity, but does not set it as the current target.Calculates a destination for the Entity to navigate to to reach the target entity, but does not set it as the current target.default @Nullable Pathfinder.PathResultPathfinder.findPath(LivingEntity target) Calculates a destination for the Entity to navigate to reach the target entity, but does not set it as the current target.default @Nullable Pathfinder.PathResultCalculates a destination for the Entity to navigate to, but does not set it as the current target.Calculates a destination for the Entity to navigate to, but does not set it as the current target.Pathfinder.getCurrentPath()Gets the path the entity is currently following.Methods in com.destroystokyo.paper.entity with parameters of type Pathfinder.PathResultModifier and TypeMethodDescriptiondefault booleanPathfinder.moveTo(Pathfinder.PathResult path) Takes the result of a previous pathfinding calculation and sets it as the active pathfinding with default speed.booleanPathfinder.moveTo(Pathfinder.PathResult path, double speed) Takes the result of a previous pathfinding calculation and sets it as the active pathfinding.