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

Arrows drop when bouncing off player at certain angle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 16w06a, Minecraft 16w07a, Minecraft 1.9 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 18w20c, Minecraft 1.13.1, 1.16.4, 20w48a, 21w05b
    • Confirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: