Pathfinding Target Entity (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.16

Syntax

[the] path[ ]finding target [entity]

Description

The target entity that another entity is pathfinding towards in a pathfinding event.

Examples

on pathfind:
	if the pathfinding target entity is a villager:
	    broadcast "I suspect a zombie is going towards a villager right now.."

View source