mojira.dev
MC-48191

Players' feet visually pass through the ground slightly when sneaking

The Bug:

Players' feet visually pass through the ground slightly when sneaking.

Steps to Reproduce:

  1. Stand on the edge of a block and switch into third person.

  2. Begin sneaking and look at the bottom of your feet.

Observed Behavior:

Players' feet visually pass through the ground slightly.

Expected Behavior:

Players' feet would not visually pass through the ground slightly.

Linked issues

Attachments

Comments 39

Thats normal.

Intended.

Intended due to MC-4410.

Fixed in 14w17a

Confirmed.

29 more comments

Can confirm in 1.19.

Can confirm in 1.19.2.

Wouldn't directly fixing this make it so when sneaking under a slab, the player's head clips into the slab instead?

Not necessarily, the pose could be altered slightly so that the body is angled a bit further, lifting up the legs without lifting the head.

The fix to this is to make (MOJMAP) PlayerRenderer#getRenderOffset return Vec3d.ZERO / just removing this method entirely because it is the cause of the issue.

Jeff Verheyen

Avoma

(Unassigned)

Confirmed

Platform

Low

Textures and models

Minecraft 14w06b, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved