mojira.dev
MC-149776

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

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

Linked issues

Comments 1

[Mod] violine1101

Felix Jones

Confirmed

Advancements

Minecraft 1.14, Minecraft 1.14.3, 1.15.1

20w06a

Retrieved