How does that work in minecraft on a sword sharpness level 100000 (which command)?

Ma
1

How does that work in minecraft on a sword sharpness level 100000 (which command)?

Aw

Here is a video