When projectiles spawn inside a hitbox, they don't hit the hitbox of the entity they are inside
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:
- Place an upwards facing dispenser
- Put in an arrow, snowball, fire charge, ender pearl, splash potion, lingering potion, or any item that creates a projectile when fired
- Place a pressure plate on the dispenser
- Let any mob or player step on it
- Observe projectile going through the mob or player that stepped on the pressure plate
2018-02-20, 01:12 PM
2025-01-18, 10:27 AM
48
23
1238023
Minecraft 1.12.2 - 25w03a
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, 1.21.4, 25w03a
-