mojira.dev
MC-146854

Player movement favors x axis when in a corner

When you jump out of a corner, you don't move diagonally but either east or west (along the x axis).

To reproduce

  1. Position yourself in a corner

  2. Look exactly diagonally

  3. Press forward

  4. Press jump
    → ❌ You're jumping either into positive or negative X direction, no matter what

Videos

Attachments

Comments 8

This is still an issue in 1.14.2

And same for 1.14.3 pre1

Still present in 1.14.3 pre2

Still present in 1.14.3

Can confirm in 20w09a

Still an issue in 1.18.1

I would make a Code Analysis, although I think this image is good enough.
Yarn - 22w05a Entity.java - move()

[media]

Spot the problem, it's not hard

This bug is actually the same as MC-156309 
It has been annoying me for years now.

Ray

gnembon

Confirmed

Hitboxes

Minecraft 19w13a, Minecraft 1.14 Pre-Release 3, Minecraft 1.14, 1.15 Pre-release 6, 20w09a, 1.16.4, 20w49a, 1.18.1

1.18.2 Pre-release 1

Retrieved