Affects Version/s: Minecraft 15w38b
Fix Version/s: None
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
In a chest’s interface, shift-clicking an item from the player’s inventory places it into the chest, as expected. However, when the chest is full, shift-clicking still works, and appears to delete the item. A quick inspection of the chest’s NBT data with the blockdata command seems to confirm that the item is not just placed in a slot that doesn’t appear in the interface. Breaking the chest does not drop the lost item either. The glitch also occurs with trapped chests, double chests and double trapped chests.
Steps to reproduce:
- Put down a chest or a trapped chest, and another chest of the same kind next to it.
- Fill up each of the chest’s slots with any quantity of any item.
- Shift-click an item stack that does not fit in the chest (stack too large, or item not stackable with the contents of any of the chest’s slots).
The game puts as much of the shift-clicked stack as possible into the chest, leaving the leftover in the player’s inventory. Or the operation fails altogether and leaves the whole stack in place.
The game puts all of the items into the chest, and the overflow is (seemingly) deleted.
This might also occur with other storage blocks/entities, like the minecart with chest.