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

Cartography Table requires string for the recipe to show up in the recipe book

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w06a
    • Minecraft 1.14, Minecraft 1.14.3, 1.15.1
    • None
    • Confirmed
    • Advancements

      The bug

      You get the recipe for cartography tables when you first get a string in your inventory. This seems odd, as string actually isn't used in the cartography table's crafting recipe. This probably is just a copy-paste error from the recipe file for the loom.

      You can look into the game files to confirm that this bug exists.

      data/minecraft/advancements/recipes/decorations/cartography_table.json
      {
        "parent": "minecraft:recipes/root",
        "rewards": {
          "recipes": [
            "minecraft:cartography_table"
          ]
        },
        "criteria": {
          "has_string": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {
              "items": [
                {
                  "item": "minecraft:string"
                }
              ]
            }
          },
          "has_the_recipe": {
            "trigger": "minecraft:recipe_unlocked",
            "conditions": {
              "recipe": "minecraft:cartography_table"
            }
          }
        },
        "requirements": [
          [
            "has_string",
            "has_the_recipe"
          ]
        ]
      }
      

      To reproduce

      1. Create a new world
      2. Run /give @s paper
      3. You don't get the cartography table recipe
      4. Run /give @s oak_planks
      5. You don't get the cartography table recipe
      6. Run /give @s string
      7. You get the cartography table recipe

            xilefian [Mojang] Felix Jones
            violine1101 [Mod] violine1101
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: