Entity Pathfind (Event) — SkBee
Addon: SkBee · Category: Event · Since: 1.5.0
Syntax
[on] entity start[s] pathfindingDescription
Called when an Entity decides to start moving towards a location. This event does not fire for the entities actual movement. Only when it is choosing to start moving to a location.
Event Values
- event-commandsender
- event-entity
- event-entitydata
- event-location
- event-world
Examples
on entity starts pathfinding:
if event-entity is a sheep:
cancel event