onInteractEntity

fun Player.onInteractEntity(callback: PlayerInteractAtEntityEvent.() -> Unit)

Custom Interaction Method for the PlayerInteractAtEntityEvent. Register SmartEvents and use the Event Manager.

See also