getCombinedDamageMultiplier

public static double getCombinedDamageMultiplier(LivingEntity source, LivingEntity target)

Composes potion effects at the damage boundary where both combatants are known. Source Strength and Weakness affect outgoing damage while target Resistance affects incoming damage.