cancelRangedAttack

open fun cancelRangedAttack(target: LivingEntity): Boolean

Whether to cancel ranged attack.

Return

false if attack should continue, true to cancel.

Parameters

target

targeted entity.