playerInteractEvent

fun ItemStack.playerInteractEvent(action: PlayerInteractEvent.() -> Unit = {})

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

See also

net.crystopia.crystalshard.paper.custom.CrystalEvents