Description:
In version 26.1.2, a synchronization mismatch occurs when swapping items in a Mule's GUI at the exact moment of an Ender Pearl teleport. The player ends up in two possible desync states:
State A (Visible Ghost): Item is visible in the hotbar but cannot be placed. The server correctly knows the item is elsewhere (likely the Mule), but the clientI fails to clear the slot.
State B (Invisible Item): Item is invisible in the hotbar (slot appears empty), but can be placed in the world. The server believes the player is still holding the item, while the client fails to render it in the inventory.
Steps to Reproduce:
Throw an Ender Pearl.
Open a Mule's inventory.
Swap an item between the player's hotbar and the Mule's slots just as the teleportation occurs.
Observed Results:
In some instances, the item disappears from the hotbar. Performing a "Use Item" (Right-click) action on the ground will successfully place the "invisible" block, proving the server still recognizes the item in the player's hand.
In other instances, the item remains visible but is unusable, and only returns to its true state (inside the Mule) upon re-opening the container.
Expected Results:
The client and server should synchronize immediately upon teleportation. Any item swaps interrupted by distance/teleportation should be clearly reflected in the UI (either the item is in the inventory and visible, or it is not).
Videos :
In the long video, I made three attempts: the first was a fail, the second resulted in state A, and the last in state B. The short video shows the placement of a block that is not in the hotbar.
Attachments
Comments 4
I forgot to include the second short video. The video shows the placement of a block that is in the hotbar.
Thank you for helping us improve Minecraft! We saved your files: