Pathfinding Target Location (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.16

Syntax

[the] path[ ]finding target location

Description

The location that the entity is pathfinding towards.

Examples

on pathfind:
	if the pathfinding target location is within radius 5 of {mylocation}:
	    broadcast "A mob tried to pathfind near a forbidden location!"
	    cancel event

View source