mojira.dev
MC-198908

Arrows can maintain some of their velocity after hitting an obstruction that is moved or destroyed

After an arrow hits a block, it can keep some of it's velocity from when it was fired after the block is either moved or removed.

Steps to Reproduce:

  1. Place a trapdoor at eye-level to the player
    (Must be close enough to interact with the trapdoor)

  2. Crouch

  3. Shoot an arrow at the trapdoor

  4. As soon as the arrow hits it, open the trapdoor quickly after

Observed Results:

The arrow will hit the trapdoor, coming to a full stop. Once the player opens the trapdoor, the arrow will sometimes jolt forward with gained speed and height.

Expected Results:

After an arrow hits an obstruction and comes to a full stop, it should lose all of it's velocity, and fall straight to the ground if the obstruction is moved or removed.

Screenshots/Videos:

My demonstration of the issue, and reproducing it:

[media]


Notice how the first arrow comes to a full stop, and falls as expected, where as the second arrow gains lots of momentum seemingly for no reaon.

Linked issues

Attachments

Comments 11

Can confirm. Also affects 20w51a, however, this seems intentional.

Can confirm in 21w03a.

Can confirm in 21w08b. Video attached.

Can confirm in 1.16.5.

Relates to [MC-180397]

1 more comments

I think this is related to MC-265965

That issue is about in-game gravity pulling the arrow downward, this issue is arrows not properly removing their velocity after colliding with a block.

I found that it works with any block and that you don't have to sneak.

Cannot reproduce anymore with recent changes to arrows and projectiles.
Likely fixed due to the behavior mentioned in MC-278155.

yeah i just spent like 2 hours trying to replicate this in every direction and almost every angle, even at specific y levels

also it said “NOT FIXED” literally just a few minutes ago before i had made an account
now it says resolved 😭 and when i try to open the link in a browser ive not signed up/logged on it says “issue not found” lmao..

Red

[Mod] Jingy

(Unassigned)

Community Consensus

Entities

arrow, velocity

1.15.2, 20w17a, 1.16.2, 1.16.4, 20w51a, ..., 23w43a, 1.20.3, 1.20.4, 24w10a, 1.20.5

Retrieved