onTrack

fun onTrack(entity: Entity): EventDispatch<Player>

Gets the event dispatcher that runs when the specified entity starts being tracked by a player.