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

Recipe book/creative search returns weird results for attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.2, Minecraft 1.14 Pre-Release 3, 1.15.1, 1.15.2 Pre-release 2, 1.16 Pre-release 5, 1.16.1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w49a, 21w03a, 21w05b, 1.18.2, 1.19.1, 1.20.4, 24w03b
    • Confirmed
    • UI

      Do "recipe give @p *" to get all the recipes, then right-click a crafting table. Open the recipe book.

      Most searches will find any items whose full text of the tooltip matches whatever you type in the search box. Notably, searches like "att" or "hand" show all weapons and tools, since they list "Attack Damage" and "when in main hand" as part of the tooltip. This is fine and good.

      EXPECTED

      The subset of recipes that appears for a search <foo> is all of the recipes whose output item has <foo> as a substring of its tooltip text.

      ACTUAL

      Try a search like "6". Some of the search results like "Iron Chestplate...+6 Armor" or "Diamond Leggings... +6 Armor" make sense. But "Wooden Axe" also shows up (0.8 attack speed, 7 attack damage) despite containing no "6". Other numerals have similar non-sensical results.

      Note that if and when custom recipes can provide NBT outputs (e.g. name/lore), I expect the recipe book search to utilize the custom name and lore.

            Unassigned Unassigned
            brianmcn Brian McNamara
            Votes:
            14 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: