mojira.dev
MC-115007

Crafting recipe availability does not update when inventory changes

The bug

The crafting recipe availability does not update when your inventory changes.

How to reproduce

  1. Place a log block in the crafting grid

  2. Open the crafting help

  3. Have the recipe for planks shown
    → The recipe should be red since you do not have the log block in your inventory

  4. Move the log block from the crafting grid to your inventory
    → You will notice that the recipe remains red until you switch pages or reopen your inventory

Linked issues

Comments 9

Probably rather "Won't fix" right?

Why is this WONTFIX when it's clearly broken?

Why is this a WONTFIX? This is a clearly visible issue to users of all abilities and may also be confusing to newer users being introduced to crafting and the recipe book.

While playing on the pre release I have been thrown or confused on many occasion as to why the recipe book has no entry for items I am clearly able to craft, and this has been the cause each time.

A simple example of how this bug can become extremely frustrating - crafting oak fences from a stack of oak logs:

  • shift-click the oak planks recipe

  • craft the oak planks

  • look for sticks recipe, but fail to find it

  • close inventory/crafting gui

  • open inventory/crafting gui

  • look again, find sticks recipe

  • click sticks recipe a few times

  • craft the sticks

  • look for oak fence recipe

  • fail to find it

  • close crafting gui

  • open crafting gui

  • look again for fence recipe, find it

  • shift click the oak fence recipe

  • craft oak fence posts

As you can see, this bug makes multi-step crafting very tedious.

Since this issue is so obvious, and there are so few other issues left in 1.12, I can only assume that the WONTFIX resolution is misleading and it is in fact being triaged, at the very least, for a point release following 1.12?

@@unknown what you are describing sounds like a different bug, mainly that recipes are not unlocked until you close your inventory. This report is about the availability (white / red outline) not updating.

Could you please create a seperate report for that if none exists already?

Workaround for availability not updating: shift-click the crafting output slot while empty, this forces an update.

edit: @@unknown: No, this also happens when all recipes are unlocked.

No, this also happens when all recipes are unlocked.

But that would only be the case if you select to show craftable items only, right? I thought he meant this without it being set and was talking about the actual unlocking.

Sorry, I forgot to mention that I was using the "Show Craftable" filter in my example.

I did notice that this bug doesn't always happen, perhaps I have been inadvertently using @redstonehelper's shift-click output workaround, or maybe some items aren't affected? I would need to do further testing to make any useful comments about that though, so please take this observation with a grain of salt.

Also, just in case this is item specific, I didn't test the specific example items I listed, I instead came up with an example to demonstrate how multi-step crafting in general is affected by this bug when you use the "Show Craftable" filter.

Appears to be fixed in 1.12-pre3, can anyone else confirm this?

I haven't been able to reproduce this yet on 1.12-pre4

marcono1234

migrated

Confirmed

change, crafting, crafting-recipe, inventory, recipe, update

Minecraft 17w13a

Minecraft 1.12 Pre-Release 3

Retrieved