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

Blocking with a shield can cause suffocation damage while sneaking in small spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.16.5, 1.17 Release Candidate 1
    • None
    • Confirmed
    • (Unassigned)

      The bug

      When blocking projectiles (could not get it to work with melee), it seems that the player is moved upward very slightly. Normally this is nearly unnoticeable, however when sneaking in small spaces, this can cause the player to briefly collide with the block and take suffocation damage.

      How to reproduce

      1. Give yourself a shield
      2. Create a small space that you can sneak into (bottom slab with a roof 2 blocks above it) 
      3. Spawn a mob that can shoot at you (like a skeleton)
      4. Block with the shield and sneak far enough into the small space that your head will collide with the block
        →  If done correctly, the player will take a tick of suffocation damage

            Unassigned Unassigned
            Aldinyx Aldinyx
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: