getDamageMultiplier

public double getDamageMultiplier(Player player, LivingEntity attacker)

Calculates the damage reduction for a frontal attack.

Return

The damage multiplier (e.g., 0.85 for 15% reduction)

Parameters

player

The player being attacked

attacker

The attacking entity