Items with max stack amount can be stacked up to 64 in the new villager trades menu.
Summon any Villager that can buy non-stackable item or item with a max stack amount less than 64 (e.g. minecraft:oak_boat)
/summon villager ~ ~1 ~ {NoAI:1,Offers:{Recipes:[{buy:{id:oak_boat,Count:1},sell:{id:emerald,Count:1}}]}}
Give yourself more than one oak_boat.
Open trade menu, click on the trade which you modified before.
You can see there is more than one boat in the first trade item slot. Now take this item stack and place it in your inventory. It kept its amount.
You can also summon a Fisherman, upgrade him to a Master level and - if you got a trade which takes a boat - you can get item stacks over their max amount, but limited to 64.
How it should work:
It should place only max amount of this item in a trade slot instead of 64,
AND ONE OF:
After clicking an item stack with amount > max amount you should get only its max amount on cursor,
OR
After placing such item stack in any inventory it should place in that inventory only max amount of that item.
Linked issues
is duplicated by 8
relates to 2
Attachments
Comments 16
I confirm, this is not a duplicate. I have an unmodified Librarian who offers a 2x Book and Quill for 1 emerald trade, which is discounted to 1x Book and Quill, but these cannot stack to begin with and will if you click the trade option.
Although the discount exceeding the max stack was apparently fixed in 1.14 pre1, clicking a trade offer for non-stackable items was not. Non-stackables still stack in the trade window. See image:
[media]Imho this can be WAI. It's for sales that require more than one non-stackable item to get single emerald.
(readded my comment)
Hey, it's not a duplicate. MC-146800 is about unstackable items' invalid discounts, but my issue is about making unstackable items stackable using trade menus. The topics of those two issues are different, because after clicking the trade in the list it moves up to 64 required items to the trade item slots even when the trade is not on discount. Please change the status to Open.
@tryashtar
[media]