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

Recipe book/creative search returns weird results for attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      UI

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            brianmcn Brian McNamara
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: