Clicking and dragging MOUSE3 (Mouse wheel) over item slots incorrectly attempts to place full stacks in survival
Resolved
Fixed
41
The Bug
In survival mode, attempting to place items in the crafting interface or an inventory by dragging with the middle mouse button will attempt to create full stacks of the item, just like in creative mode. However, when you release the mouse button, the operation will be cancelled due to insufficient items.
The middle mouse button previously split items evenly across slots in survival mode, like the left mouse button, but now effectively does nothing, while appearing to temporarily create ghost items.
How to reproduce
Place down a chest
Insert a stack of any item
In survival mode, click the stack and then middle click and drag over multiple slots of the chest's inventory ❌ notice all dragged-over slots first appear to fill up with a stack of the item, but then disappear upon mouse release
Is this still a concern in the current Minecraft version14w11b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. - bot
I've never seen that before, mainly because I have not used pick block while crafting. It seems that the Count data tag of the block is being changed. it is very likely unintended, and you should be using right click while spreading items. What is happening is it places 64 wood planks on the crafting table, then subtracts 64 from the count data tag of the planks you are holding; if you have 2 wood planks and spread them, the number shows up as 2-2*64, which is -126. you can also only spread these items as many times as the number in the stack. The number you see ranges from n-2*64 to n-n*64. A simple fix would be removing the ability to use middle click and spreading blocks, since the right button and spread already works just fine.
In creative mode it creates extra stacks of the item, in survival they just don't split up. @anybody saying to just use right click, middle click didn't do the same thing as right click does. Middleclick+drag evenly split up the items over the spaces you hovered over. Its much easier to craft many things like a stack of stone into a stack of stonebricks, just middleclick+drag over four spaces and it puts 16 in each.
@Max You can use the left mouse button to split a stack evenly, too. I'd actually like it, when the MMB would split all available items of this kind - but that'd kind of a feature request...
1.8.4 for creative for count < 64, else see MC-76899. And not only for crafting fields but anywhere in some kind of inventory
You can only "fill" the first field where you started dragging MOUSE3. When releasing it, at this field the number changes to 64 (from the original count of the held items)
There are two separate issues here. One is that dragging with mouse3 is attempting to place full stacks in survival (it's intended in creative). The other is that the block count goes negative, which happens in both creative and survival.
Interesting observation - you can only middle-click drag into as many slots as the item originally was stacked to (IE, if you start with a stack of 3, you can only drag into 3 slots, and it'll display you as having -189 items). This includes dragging into slots that are already full of the same item, although it won't count down there.
The purpose of this operation appears to be evenly splitting items of a stack across the dragged-over slots, apparent from the limit of slots the items can be dragged over. Seeing 5 items cannot be split over 6 or more slots.
But it is re-used (now that we have the left-click drag for that), for the purpose of creative filling slots instead. In survival the effect is that the items cannot be duplicated and ghost items will temporarily appear during the drag.
Please do not place your description in the environment field. Place it in the description field.