The bug
When an arrow bounces off of you because you are in Creative mode or blocking with a shield, the arrow drops as item instead of landing on the ground. This applies only to arrows a survival player can normally collect.
How to reproduce
Have the following command running on a slow clock and be in Creative mode or block with a shield
/execute at @p run summon arrow ~7.1 ~2.1 ~ {Motion:[-1d,0.155d,0d],pickup:1b}
The reason
The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.
The method net.minecraft.entity.projectile.EntityArrow.onHit(RayTraceResult) is responsible for that. This behaviour is probably intended.
- is duplicated by
-
MC-106323 Arrows on top of Creative Mode Player soon Break
- Resolved
-
MC-107105 Sometimes arrows shot instead of bouncing off of them turn into an item
- Resolved
- relates to
-
MC-162551 When shooting an arrow on top of a player in Creative mode, a closed shulker, or an invincible mob, the arrow glitches around on top of the entity
- Resolved