mojira.dev
MC-170863

Dropping item stacks from the player's hotbar in any creative inventory tab other than "Survival Inventory" deletes items

When a creative mode player is in any creative tab other than Survival Inventory, and drops an entire item stack from their hotbar all at once (using either ctrl + q for >=1 stack items, or q for single stack items), the items will be entirely deleted (not just invisible).

Steps to Reproduce:

  1. In creative mode, open your inventory

  2. Go to any tab other than Survival Inventory
    (note: Search Items will not work because of the search bar)

  3. Do one of the following:

    1. Grab a singular item, and drop it from your hotbar using q

    2. Grab a multi-stack item, and drop it from your hotbar using ctrl + q

Observed Behavior:

The hand animation plays, but the item is deleted entirely.

Expected Result:

The item would drop, just like it does when dropped from the Survival Inventory tab.

Screenshots/Videos:

[media]

Old Description:

The bug
Dropping a single item stack from the Creative hotbar by hovering over the item stack in any Creative menu other than the "Surival Inventory" one and pressing the drop key (Q) only deletes the item stack, but does not drop it.

This is closely related to MC-23039 where no item would drop regardless of the stack size.
But it is not related to MC-116618 since that happens for any stack sizes and the cause for it is understood and described in that report.

Video: https://youtu.be/f4ccl-qkLJI

How to reproduce

  1. Put any single item in your Creative hotbar

  2. Open any inventory tab except "Search Items" and "Survival Inventory"

  3. Hover over the item in the hotbar and press Q (drop item key)
    ❌ The item is deleted

Related issues

Attachments

Comments

migrated
[media]
Gravinser

can reproduce

migrated

this bug is very old and works with any items, i reproduced it in 1.14.4

numeritos

Affects 1.16 pre 5, I want the ownership of this bug to keep it updated 😉

[Mod]Les3awe

Completed.

[Mod] Jingy

I've created a clearer description of this issue:

When a creative mode player is in any creative tab other than {{Survival Inventory}}, and drops an entire item stack from their hotbar all at once (using either {{ctrl + q}} for >=1 stack items, or {{q}} for single stack items), the items will be entirely deleted (not just invisible).

h3. Steps to Reproduce:
 # In creative mode, open your inventory
 # Go to any tab other than {{Survival Inventory}} 
(note: {{Search Items}} will not work because of the search bar)
 # Do one of the following:
 ## Grab a singular item, and drop it from your hotbar using {{q}}
 ## Grab a multi-stack item, and drop it from your hotbar using {{ctrl + q}}

h3. Observed Behavior:
The hand animation plays, but the item is deleted entirely.

h3. Expected Result:
The item would drop, just like it does when dropped from the {{Survival Inventory}} tab.

h3. Screenshots/Videos:
 [^DropItem.mp4] 

h3. Notes:
Related to MC-242392 MC-120643 MC-207882

numeritos

(Unassigned)

Confirmed

Platform

Normal

UI

1.15.2, 20w06a, 20w09a, 20w11a, 1.16 Pre-release 5, ..., 1.20.4, 24w07a, 1.20.6, 24w19b, 1.21

24w33a

Retrieved