PotionCombatModifierCalculator

Centralizes combat-relevant potion math so incoming and outgoing damage stay symmetric.

All supported effects use percentage-per-amplifier values from MobCombatSettingsConfig:

Strength and Weakness are combined linearly so equal levels cancel exactly.

Functions

Link copied to clipboard
public static double getCombinedDamageMultiplier(LivingEntity source, LivingEntity target)
Composes potion effects at the damage boundary where both combatants are known.
Link copied to clipboard
public static double getIncomingDamageMultiplier(LivingEntity entity)
Link copied to clipboard
public static double getOutgoingDamageMultiplier(LivingEntity entity)