onTarget

fun onTarget(event: EntityTargetEvent)

This event is listened to update the nametag of a mob when they start targeting a player. Should provide another band-aid for packets not appearing sometimes for mob nametags.

Parameters

event

EntityTargetEvent