onPickUp

fun Entity.onPickUp(callback: EntityPickupItemEvent.() -> Unit)

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

See also