mojira.dev
MC-122000

Items get deleted when the inventory is overflowed by using the recipe book to return items from a crafting table.

The bug

When a user has items on the crafting bench, and they select a recipe that doesn't include those items, if they have enough free inventory space, the items will be returned to their inventory, and the new recipe will be selected. If their inventory is completely full, nothing will happen. However, if the user has some free space, but an insufficient amount, only a portion of the items will be returned, and the rest will cease to exist. Expected behavior would be to drop the overflow on the ground (see MC-1555) or to have nothing happen, like when the inventory is full.

How to reproduce

  1. Set up your inventory and crafting table like in the attached

[media]
  1. [media]
  2. Click a recipe like sticks
    → You will see that only one of the stacks of diamonds is returned to your inventory.

    [media]

Linked issues

Attachments

Comments 3

Are you using creative, if it is, then it's an intended feature

I discovered and reproduced this bug in survival.

Still affects 18w05a, please update!

Megabobster

migrated

Confirmed

inventory, item-stack, recipe-book

Minecraft 1.12.2, Minecraft 17w46a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a

Minecraft 18w08a

Retrieved