playerInteractEntityEvent

fun Display.playerInteractEntityEvent(interactionHeight: Float?, interactionWidth: Float?, action: PlayerInteractEntityEvent.() -> Unit = {})

Custom Interaction Method for the PlayerInteractEntityEvent. Register CrystalEvents and use the Event Manager.

See also

net.crystopia.crystalshard.paper.custom.CrystalEvents