Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262507

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20 Pre-release 1, 24w14a
    • None
    • Confirmed
    • Hitboxes, Particles, Player
    • Low
    • Platform

      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.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: