blockedByShield

fun LivingEntity.blockedByShield(source: DamageSource, damageAmount: Float = 1.0f): Boolean

Mirrors the blocking-angle and bypass checks from net.minecraft.world.entity.LivingEntity#applyItemBlocking.

See also

LivingEntity

#applyItemBlocking