onUntrack

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

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