onDamageByBlock

fun Entity.onDamageByBlock(callback: EntityDamageByBlockEvent.() -> Unit)

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

See also