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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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, 1.19.3, 23w04a, 1.19.4, 23w16a, 1.20 Pre-release 6, 1.20.1, 1.20.2, 23w45a, 24w06a, 24w11a, 1.20.6, 24w19b, 24w20a, 1.21, 24w33a, 1.21.1, 24w35a, 24w37a, 24w39a, 24w45a
    • None
    • Confirmed
    • Collision, Projectiles
    • Important
    • 1238023
    • Platform

      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

      https://gfycat.com/GregariousLegalBasenji

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

            Unassigned Unassigned
            TheGabro TheGabro
            Votes:
            47 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              CHK: