onDamage

fun Entity.onDamage(callback: EntityDamageEvent.() -> Unit)

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

See also