Arrows drop when bouncing off player at certain angle
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.
Linked Issues
is duplicated by2
Created Issue:
Arrows drop when bouncing off player at certain angle
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 @p ~ ~ ~ /summon Arrow ~7.1 ~2.1 ~ {Motion:[-1d,0.155d,0d],pickup:1b}
is duplicated by
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 @p ~ ~ ~ /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
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@p ~ ~ ~ /summonArrow ~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.
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 @s 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.
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 @srun 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.
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.
Does MC-97152 describe your issue? edit: Resolving.
Can confirm in 20w48a.
Can confirm in 21w05a. Either duplicates or relates to
MC-162551.Can you still replicate this issue? I cannot seem to reproduce this in 1.20.3 RC 1 following the provided steps. While the arrow has a bit of unusual behavior floating above the player, it never drops as an item but instead lands on the ground as expected.
My attempt at recreating the issue:
2023-12-01_20-26-34.mp4