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

When projectiles spawn inside a hitbox they don't hit the hitbox of the entity they are inside



    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Minecraft 1.12.2, Minecraft 18w07c, Minecraft 1.13.1, 1.14.4, 1.15.2, 20w08a, 20w09a, 20w17a, 20w18a, 20w19a, 20w22a, 1.16 Pre-release 5, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w29a, 20w30a, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w15a, 21w16a, 1.17, 1.17.1 Release Candidate 1, 1.17.1, 21w39a, 21w43a, 1.18, 1.18.1, 1.18.2, 1.19 Pre-release 1, 1.19, 1.19.1
    • None
    • None
    • Confirmed
    • Collision, Projectiles
    • Low


      Trying to shoot entities with a bow and arrow from close range doesn't work. This also affects other projectiles. Withers shoot through blocks from close range as well.

      Occurs when the shooter hitbox overlapping with the mob hitbox, or the mob/player is next to the dispenser

      applies to skeletons, players, pillagers, illusioners, strays, wither skeletons with a bow and snow golems for sure; presumably also blazes, ghasts and ender dragons (with a dragon fireball)

      It happens when the projectile's "hit area" (area where the projectile hits the entity, not equal to its hitbox) intersects with the entity's hitbox, so it happens not only when you touch the shooting spot, but a bit away from it too
      (see the spawn points of the arrows from dispenser in screenshots spawn 1.png and spawn 2.png)

      Simple reproduction steps:

      1. Place an upwards facing dispenser
      2. Put in an arrow, snowball, fire charge, ender pearl, splash potion, lingering potion, or any item that creates a projectile when fired
      3. Place a pressure plate on the dispenser
      4. Let any mob or player step on it
      5. Observe projectile going through the mob or player that stepped on the pressure plate



        1. 2021-07-03 14-56-04.mp4
          8.13 MB
        2. no longer passes through starting from this distance.png
          no longer passes through starting from this distance.png
          953 kB
        3. passes through.png
          passes through.png
          1.29 MB
        4. shooting through zombie.flv
          6.69 MB
        5. spawn 1.png
          spawn 1.png
          1.07 MB
        6. spawn 2.png
          spawn 2.png
          1.05 MB

        Issue Links



              Unassigned Unassigned
              TheGabro TheGabro
              27 Vote for this issue
              17 Start watching this issue