mojira.dev
MC-117235

Items are still placed in crafting grid after one stack reached the maximum stack size invalidating recipe and deleting items

The bug

Clicking on a recipe continues to add the ingredients in the crafting grid as long as you have the items in your inventory even if the stacks in the crafting grid reached the maximum stack size. For items with a maximum stack size of 64 the additional items are placed in free crafting grid slots invalidating the recipe. For items with a lower maximum stack size the additional item is deleted.

How to reproduce

  1. Put at least 16 + 1 ender pearls in your inventory

  2. Put at least 17 blaze powder in your inventory

  3. Open the recipe book

  4. Shift click one the "Eye of Ender" recipe

  5. Click on the "Eye of Ender" recipe again
    → One ender pearl is removed from your inventory but does not appear in the crafting grid, additionally one blaze powder item is placed separately in the crafting grid

Comments 2

The main problem seems to be that ingredients are added even if one or more stacks in the crafting grid already reached the maximum stack size. For items with a maximum stack size of 64 the additional item is placed in the crafting grid invalidating the recipe but for items with a lower maximum the item is deleted instead like you described.

Therefore I would like to make the report more generic, I hope you are fine with that.

Thanks a lot for that! I have seen that bug from my custom recipes but i didn't tried with other recipes until yesterday and didn't had much time to make a better explanation. Now it's fixed and i'm very happy. Now i must to try it!

KamiADN

migrated

Confirmed

crafting, item-stack, recipe, recipe-book

Minecraft 1.12 Pre-Release 1

Minecraft 1.12 Pre-Release 2

Retrieved