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

Conflict in datapack recipes that use the same ingredients but have different shape

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.1
    • None
    • Unconfirmed
    • (Unassigned)

      Context:

      I have a datapack with these 2 recipes:

      ```
      {
          "type": "minecraft:crafting_shaped",
          "pattern": [
              "#W",
              "#W"
          ],
          "key": {
              "#":

      {             "item": "minecraft:potato"         }

      ,
              "W":

      {             "item": "minecraft:wheat"         }

          },
          "result":

      {         "item": "minecraft:porkchop",         "count": 1     }

      }
      ```
      and

      ```
      {
          "type": "minecraft:crafting_shaped",
          "pattern": [
              "#P",
              "#P"
          ],
          "key": {
              "#":

      {             "item": "minecraft:wheat"         }

      ,
              "P":

      {             "item": "minecraft:potato"         }

          },
          "result":

      {         "item": "minecraft:beef",         "count": 1     }

      }
      ```
       
      When testing in game, both ingredient arrangements output a porkchop (see attachments), despite the fact that one of them should output beef.

        1. Captura.PNG
          4 kB
          daenvil
        2. Captura2.PNG
          4 kB
          daenvil

            Unassigned Unassigned
            daenvil daenvil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: