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

Recipe book entries are not sorted in any meaningful manner

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13-pre1, Minecraft 1.13.1, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w21a, 1.16.1, 20w27a, 21w03a, 1.16.5, 21w08b
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Recipe book entries are not sorted in any meaningful manner. In fact, the order can even change randomly after a reload.

      How to reproduce

      1. Open a creative world
      2. /recipe give @p *
      3. Open a crafting table and open the recipe book, set to "show all" mode
        → Note how there is not any meaningful ordering for recipes that appear

      For the search tab: Some random colored blocks come first, some wooden tools follow (but interrupted by pressure plates, doors, and buttons), redstone components are scattered throughout the pages.

      For the misc (4th) tab: glass panes are first, then yellow dye, carpets, and beds. Foods are not together. Dyes are not together. Rail related objects are not together.

      Suggested fix: Either group recipes by category, or sort the recipe results alphabetically. Currently, the non-search tabs of the book are not very useful because you have to hunt through pages of essentially random recipes to find the one you want.

      Code analysis (MCP 1.12.2):

      GuiRecipeBook.updateCollections (MCP name func_193003_g) does not sort the result list list1 in any way before passing it to RecipeBookPage.updateLists, which does pagination and layout of the recipes onto the buttons of each page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              williewillus williewillus
              Votes:
              10 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: