[GH-ISSUE #4418] Client lacks inventory prediction for item swapping (Visual and audio delay based on ping) #1316

Closed
opened 2026-11-02 15:45:59 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4418

What I did:

  1. Connected to a multiplayer Java Minecraft server with high network latency (180ms).
  2. Attempted to swap armor (netherite chestplate to elytra, or vice versa) by right-clicking the item in the hotbar.
    What happened:
    There is a noticeable visual and audio delay before the swap takes place. The item change on the UI armor slot and its associated equip sound effect are both delayed while the client waits for server packet confirmation.
    What I expected:
    The client should employ visual/client-side prediction, immediately updating the inventory slot and playing the sound effect locally upon interaction despite the network ping.
    Horizon version: nightly
    OS, CPU, GPU: Kubuntu 26.04.1 LTS, Ryzen 7 250, Radeon 780M

Reported on playhorizon.dev

Opened by the bug form on playhorizon.dev/hub. The reporter has this issue's link; they don't get GitHub notifications.

Originally created by @ludovic111 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4418 > **What I did:** > 1. Connected to a multiplayer Java Minecraft server with high network latency (180ms). > 2. Attempted to swap armor (netherite chestplate to elytra, or vice versa) by right-clicking the item in the hotbar. > **What happened:** > There is a noticeable visual and audio delay before the swap takes place. The item change on the UI armor slot and its associated equip sound effect are both delayed while the client waits for server packet confirmation. > **What I expected:** > The client should employ visual/client-side prediction, immediately updating the inventory slot and playing the sound effect locally upon interaction despite the network ping. > **Horizon version:** nightly > **OS, CPU, GPU:** Kubuntu 26.04.1 LTS, Ryzen 7 250, Radeon 780M Reported on playhorizon.dev <sub>Opened by the bug form on playhorizon.dev/hub. The reporter has this issue's link; they don't get GitHub notifications.</sub>
bsakaguchi 2026-11-02 15:45:59 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1316
No description provided.