mojira.dev
MCPE-225225

Arrow is delayed when shooting bow

When a player shoots a bow, there is a half to full second delay before the arrow appears. This makes it very hard to aim compared to Java.

This seems to be because the client doesn’t “own” the projectile it creates.

What seems to happen:

  1. Client shoots bow

  2. Client tells server to create arrow

  3. Server creates arrow, handles movement, and replicates to client(s)

What should happen:

  1. Client shoots bow

  2. Client creates arrow, handles movement, and informs server

  3. Server tells other clients about the arrow (so they can see it)

  4. Client informs server about arrow movement

  5. Client tells server what it hits

  6. Server applies damage/places arrow object in ground

  7. Other clients handle arrow movement on their own, but the impact/damage is handled by server



The whole arrow shooting/movement process should be handled by the client so there’s no delay. The server should just handle damage/hit with some checks for foul play.


Expected behavior: no lag when shooting bow (as on Java Edition)

Linked issues

Comments 1

Automation for Jira

Please edit your report to change the Affected Version to the version shown on the Minecraft title screen

jwartofsky

(Unassigned)

Unconfirmed

Multiple

Windows 10

1.21.94 Hotfix

Retrieved