Preamble / Introduction:
I stumbled upon this bug completely by accident during regular gameplay. Out of curiosity and a desire to investigate further, I performed extensive testing across multiple game versions. While I eventually located the root packet desynchronization issue in the bug tracker (tracked as MC-154881), I have done a significant amount of additional QA work and discovered several entirely new, severe logical flaws that were never documented by the original author. This investigation proves that the bug has been haunting the game engine for years, stretching continuously from version 1.13.2 all the way to the latest 26.2 development builds.
Description:
A severe client-side inventory desynchronization (Race Condition) occurs when a player rapidly switches hotbar slots and drops an item within a single game tick. This report details newly discovered critical breakdowns in the inventory state machine, item replacement rendering, and armor slot validation affecting versions continuously from 1.13.2 up to the latest 26.2 development builds.
Environment:
Game Version: Vanilla Minecraft (Stretching from 1.13.2 to 26.2, validated on clean installations)
Connection: Localhost / Singleplayer
Newly Discovered Critical Flaws:
Broken Armor Slot Validation: The client can take a duplicated "ghost" armor piece inside the inventory and successfully force-place it into the active armor equip slot. The server fails to reject the invalid movement packet instantly.
Invalid Model Rendering: The game engine fully renders the phantom armor model on the player's 3D character in the world, creating a false visual state.
Zero Attribute Delivery (Severe UX Bug): Despite being visible on the model, the HUD armor bar registers 0 Armor Points. The player takes unmitigated, full damage.
"Air" Item State Manipulation: The rapid slot manipulation triggers an index mismatch where physical items inside the inventory are converted into invisible "Air" item slots, which can subsequently be transformed back into solid blocks or tools upon interaction.
Game Mode Specific Behavior:
In Survival Mode: The bug generates purely visual client-side "ghost" entities directly inside the player inventory. Upon manual click validation, the client re-syncs and the phantom item reverts.
In Creative Mode: Because the client has packet authority, the server permanently accepts the ghost entities inside the slots, causing permanent item duplication.
Video Proof Timestamps (Attached):
Chapter 1: Item and Slot Replacement Bug
0:00 — [Creative] Dirt slot incorrectly transforms into a Netherite Sword inside the inventory.
0:13 — [Creative] Dirt slot transforms into a Netherite Sword + dropping the sword directly from the inventory.
0:23 — [Creative] Dirt slot incorrectly transforms into an Armor piece inside the inventory.
0:34 — [Survival] Dirt slot incorrectly transforms into an Armor piece inside the inventory.
0:47 — [Survival] Dirt slot incorrectly transforms into a Netherite Sword inside the inventory.
Chapter 2: "Air" (Void) Item Manipulation Bug
1:01 — [Creative] Transforming Armor into an invisible "Air" (Void) slot.
1:09 — [Creative] Transforming the "Air" slot back into visible Armor.
1:18 — [Creative] Transforming the "Air" slot into physical Blocks.
1:27 — [Creative] Transforming physical Blocks back into an "Air" slot.
1:41 — [Survival] Transforming a Netherite Sword into an "Air" slot.
1:49 — [Survival] Transforming the "Air" slot back into a Netherite Sword.
2:05 — [Survival] Transforming the "Air" slot into Armor and manually equipping it from the inventory screen.
2:15 — [Survival] Transforming the "Air" slot into Armor and equipping it using Right-Click (Interact).
2:21 — [Survival] Transforming the "Air" slot into Armor and immediately unequipping/removing it.
2:32 — [Survival] Transforming Armor into an "Air" slot and attempting to equip it via Shift + LKM.
2:39 — [Survival] Transforming Armor into an "Air" slot and attempting to equip it via Right-Click (Unsuccessful trigger).
2:49 — [Survival] Transforming the "Air" slot into physical Blocks.
2:55 — [Survival] Transforming physical Blocks back into an "Air" slot.
Steps to Reproduce (STR):
Place the primary item you want to copy (e.g., armor or a sword) into an active hotbar slot.
In the adjacent hotbar slot, place either the item you want to drop/sacrifice, or leave it completely empty (Air slot).
Select the slot containing the primary item you want to copy.
Execute a rapid sequential keystroke to switch extremely fast from the primary item's slot to the adjacent target slot (containing the item to drop or air) and immediately hit the drop key.
Observe the desynced phantom entity appearing directly inside the player inventory interface instead of dropping onto the ground.
Interact with the newly created phantom item by moving it to an armor slot or attempting block/item interaction inside the UI.
Expected Result:
The server-side inventory logic must strictly validate packet execution order and timestamps within a single game tick. Client-side rendering of models and item icons inside the UI must strictly check against real server-side slot states to prevent critical UX confusion and "Air" item data manipulation.
Acknowledge / Thanks:
Thank you so much for your understanding and assistance in reviewing this report!)
Environment
Vanilla Minecraft (Stretching from 1.13.2 to 26.2, validated on clean installations), Localhost & Dedicated Multiplayer Servers.
Linked issues
Attachments
Comments 2
Hi!
Thank you for your report!
We're already tracking this issue at MC-154881 , so I will resolve and link this ticket as a Duplicate.
I suggest also to browse through the main issue for potential fixes.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Thank you for helping us improve Minecraft! We saved your files: