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.

Linked issues

MC-262777 Sprint-jumping on the edges of solid blocks can still produce the occasional incorrect sprint particle and/or create particles in midair Open MC-240029 Fire and soul fire produce block particles in some situations Resolved MC-1133 Whether or not a player experiences some effect is calculated based on the block under the center of the player Resolved MC-207949 Landing on boats that are in water from moderate distances produces water particles Open MC-240028 Water and lava have dedicated minecraft:block particles Resolved

Attachments

Comments 0

No comments.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Hitboxes, Particles, Player

1.20 Pre-release 1, 24w14a

Retrieved