getSweepMultiplier

public static double getSweepMultiplier(EntityDamageByEntityEvent event)

Returns the sweep damage multiplier for the given damage event.

Sweep attacks (secondary targets of a sword swing) deal reduced damage.

Return

SWEEP_DAMAGE_FRACTION for sweep attacks, 1.0 otherwise

Parameters

event

The damage event to check