Sweeping Edge

be

Sweeping Edge is a sword enchantment that increases sweep attack damage.

Usage
Sweeping Edge increases the damage dealt to mobs by each hit from a sweep attack to 50%/67%/75% of the sword's attack damage for levels I/II/III.

Mechanics
Sweeping always has a range of a 2.75x2.75x2.75 cube centered from the entity that was hit. The player attacking must be on the ground to initiate the attack.

Though the sweeping particle may be shown, it may not activate. This is because the attack must be under a certain distance between the center of the feet of the player and the center of the bottom of the mob being hit. This distance is about 3.721572875m or blocks.

Damage
The formula for sweep attack damage is:, rounded to the nearest integer. Here, the Attack_Damage is the sword's damage after applying Sharpness, Smite, and Bane of Arthropods. For example, an iron sword enchanted only with Sweeping Edge I deals  damage to each mob hit with a sweep attack. A diamond sword enchanted with Sharpness V and Sweeping Edge III deals  sweep damage. Any sword without Sweeping Edge deals  sweep damage. Extra damage from Smite and Bane of Arthropods is applied against undead mobs and arthropod mobs, respectively.

Higher levels than Sweeping Edge III (obtainable via the use of commands or third party editors) is processed following the formula above and the sweep damage caps beneath 100% of sword's attack damage.

Enemies damaged through Sweeping Edge that are not directly hit by the sword are not affected by Fire Aspect. For example, if multiple enemies are damaged by sweeping edge, only the first enemy struck will be affected by Fire Aspect.