How do you punch and eat a golden apple at the same time in Minecraft?

I saw some people use a technique where they block with their sword AND punch the player at the same time. Also, those players also end up punching the player WHILE eating the golden apple, creating this weird animation where you punch and eat on the run, like what you see in Wifies's videos. Can this be possible in 1.17?


Solution 1:

No, this is not possible in Vanilla Minecraft since 1.8. There were some mods some years ago that added the <1.7 animations back to the game (and, thus, made this possible), but most of them seem to be abandoned now.