Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277592

Using the recipe book to craft a crafting_transmute recipe can autofill unusable items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.2 Pre-Release 3, 1.21.2 Release Candidate 1, 1.21.2, 24w44a, 1.21.3
    • None
    • Confirmed
    • Crafting
    • Low
    • Platform

      The input item(s) and result item in crafting_transmute recipes are not allowed to be the same. However, when the player uses the recipe book to craft such a recipe with one of its ingredients being same as the result, the game can autofill that ingredient even if it's unusable.

      If one of the ingredients of the recipe is an item tag and one of the items in the tag is the same as the ingredient, in some situations the game will still choose the unusable item when using the recipe book, even if it could use a different item from that tag.

      How to reproduce:

      The following steps use bundles as an example, but shulker boxes or other custom crafting_transmute recipes can also be used.

      1. Give yourself a dyed bundle of a specific color.
      2. Give yourself a dye of that same color.
      3. Open your inventory or use a crafting table.
      4. Open the recipe book.
        If you have no other bundles apart from the one with the same color as the dye, the recipe for a dyed bundle of that color appears in the recipe book, even though you can't craft it.
      5. Click on the recipe for a dyed bundle of that color.
        The game autofills the bundle and the dye in the crafting grid even though no crafting output appears.
      6. Give yourself a bundle of a different color as well.
      7. Click on that recipe again.
        In some cases, for example if you have a lime bundle, a magenta bundle and a lime dye, the game autofills the unusable bundle, even though there is a different bundle it can use.

      Expected result:

      A crafting_transmute recipe would only autofill usable items when crafted using the recipe book, or not appear if there are no usable items.

      Observed result:

      A crafting_transmute recipe can autofill unusable items when crafted using the recipe book.

        1. shulker_box.mp4
          360 kB
        2. bundle.mp4
          503 kB

            Unassigned Unassigned
            wplxfore wplxfore
            Votes:
            9 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: