mojira.dev
MC-100313

Sweep attack sometimes doesn't work after switching slot while standing still

Yeah, the title pretty much says it. I was standing (in multiple occurences) still next to the "output" of a spawner trap and hitting zombies with a sword. When I switched slots away from the sword and back, in some situations the sweep attack stopped working until I moved a bit.
Possible cause: The game determines the moved way/the speed only while the sword is hold and can't handle 0.
Possible fix: If 0, trigger sweep attack.

Comments 3

I am able to confirm this.

Another way to trigger the malfunction: Have server lag, so that hit mobs fly for longer than the recharging animation lasts, hit before the mobs hit the ground again.

Seems to be fixed in 1.9.4 and 16w21b.

FaRo1

(Unassigned)

Community Consensus

Minecraft 1.9.2

Minecraft 1.9.4

Retrieved