Pathfinding - Path Target (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.5.0

Syntax

[the] [final] path target[s] [with speed %-number%] of %livingentities%

Description

Set the path of an entity to target a specific location, with an optional speed Get the location of the paths end. Delete will stop the entity from pathfinding. Requires Paper 1.13+

Examples

set path target of event-entity to player
set path target with speed 1.5 of last spawned entity to location above player
set path targets of all entities to location of player
delete path target of event-entity

View source