What I expected to happen
When you Shift-Click on the Destroy Item button in your inventory, Your inventory is cleared.
What happened
I shift-clicked on the Destroy Item button in 17w45a and my inventory was not cleared.
Steps to Reproduce
Get some items in your inventory in 17w45a and Shift-Click the Destroy Item button.
Your inventory will not be cleared
Notes
Placing an item in the Destroy Item slot does remove the item though.
Shift+Right-clicking works.
Shift+Left-clicking works if there is an item in the cursor (that item will not be removed, but everything else will be). (Shift+right-clicking continues to work in this case)
Linked issues
is duplicated by 12
Comments 9
Quick mod-note/analysis: this is definitely a bug. The way that shift-clicking works in this slot is that the slot deletes all items when a quickmove occurs. However, it seems that in the snapshot, shift-left-clicking an empty slot does not trigger a quickmove anymore (but shift-right-clicking does). Thus the clear inventory does not always happen.
Confirmed on Windows 7.
Note that shift-right-clicking does clear the player's inventory.