cancelMeleeAttack

open fun cancelMeleeAttack(target: Entity): Boolean

Whether to cancel melee attack.

Return

false if attack should continue, true to cancel.

Parameters

target

targeted entity.