Expected behavior:
Swinging a sword will give a good chance to hit the mob before the mob hits you.
Actual behavior:
More often than not, the mob will get the first hit. Seems to happens especially with spiders, but happens with other mobs too.
Steps to reproduce:
1. Spawn a bunch of mobs
2. Try to hit them without getting hit first
Linked issues
is duplicated by 1
Comments 10
this happens the worst with large slimes and magma cubes, they hit us like 4 or 5 times before we can hit them back.
This has happened to me, it is more of a problem with slimes though. I think mojang messed up the hitboxes on big slimes during an update because now they are merely impossible to hit
I've had this problem with spiders, zombies, endermen, slimes, magma cubes, etc. Anything with a melee attack. It seems like they have real long arms. 🙂
Acknowledged as problem with client side prediction but closed as wontfix? Unless I'm missing something, that means we'll have to live with it for the time being.
@Robby Lee - Seeing how it's Jeb's comment, I'm going to say he has been playing much longer than you.
I have noticed this recently too, and does seem to be a prediction issue as the only way it seems, to get in the first hit, is to strafe. Since the motion of the mob is predicted on the client side, any change in momentum will require an update. More noticeable on remote servers when attempting to attack the mob in a straight forward/back movement. Side-to-side seems to have a higher avoidance rate as the client has not received information that the mob is facing a different direction, or the momentum has changed until the next packet is received.
I experienced something very similar to this in the 1.4.2 pre-update.
However when I struck them with a weakness potion I wasn't able to hit the mobs at all until the potion effect wore off.
I think this is more than a "minor" problem though.