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
Recipe book entries are not sorted in any meaningful manner. In fact, the order can even change randomly after a reload.
- Open a creative world
- /recipe give @p *
- 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.
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.