mojira.dev
MC-262507

Block falling-on/sprinting/etc. particles do not take block hitbox shape into account

The bug

As of 23w18a, when falling from a height onto the edge of a full block, the particles are created at the very edge of that block's hitbox. The same later became true of sprinting particles. However, this is only fixed for blocks with a full 16-by-16 top face: blocks with different collision shapes will still cause their particles to be generated in what is effectively midair.

How to reproduce

  1. Place a single glass pane or iron bars unit

  2. Stand on top of it

  3. Sneak until you're at the very corner

  4. Fly up significantly

  5. Fall from that height

Expected results

The fall particles would be generated where the block's hitbox ends.

Actual results

They are not, and appear in midair centered under the player.

Further notes

This also works for sprinting and should be easy to test for.

Related issues

Attachments

Comments

migrated
[media][media]

muzikbike

(Unassigned)

Confirmed

Platform

Low

Hitboxes, Particles, Player

1.20 Pre-release 1, 24w14a

Retrieved