Recipe book

The recipe book is a mechanic in Minecraft that serves as a catalog of recipes and as a crafting guide.

Interface


The recipe book can be displayed in either the 2x2 (inventory) or 3x3 (crafting table) grids. Simply enter the crafting GUI and press the button with the knowledge book; the recipe book will then be displayed to the left.

Similar to Bedrock Edition's MATTIS system, the recipe book contains a list of all available crafting recipes.

Recipes are stored in several different tabs:
 * The first, topmost tab contains every unlocked recipe.
 * The second tab contains tools, weapons, and armor.
 * The third tab contains building materials.
 * The fourth tab contains food items and miscellaneous things.
 * The fifth tab contains redstone materials.

Clicking on an item in the list will display its crafting recipe in the nearby 2x2 or 3x3 grid. The item can then be crafted if the materials are available; otherwise, the button containing the item will be highlighted red. Each click will show alternate patterns for the same crafting recipe, if there are several patterns (for example, each click on a banner recipe will show all the possible banners using different colored wools). Right click on the item shows all the alternate patterns.

Shift-clicking an item in the list puts all available materials in the crafting grid.

The button in the top right corner of the recipe book toggles between "Show all" and "Show craftable", the latter of which displays only recipes for which the player has the necessary materials in their inventory. The top-left corner also contains a search bar to further narrow the list.

Note that the 2x2 recipe book will only display recipes that can be crafted in the 2x2 grid; if the player wants to see every possible recipe, they must use the 3x3 recipe book.

Obtaining


Recipes are unlocked upon meeting certain criteria (for instance, gathering materials, being near water, having a certain number of filled inventory slots, etc.) or by a knowledge book. Using a crafting recipe will also unlock it, so long as remains false.

Recipes can also be given - or taken away - by using the command.

Player data

 * Player.dat root tag
 * A list of all recipes the player has seen.
 * : the name of a recipe, for instance  or
 * A list of all recipes the player has unlocked, but not viewed in the crafting helper yet.
 * : the name of a recipe, for instance  or
 * : 0 or 1 (true/false). True if the player has enabled the "Show Craftable" feature in the recipe book.
 * : 0 or 1 (true/false). True if the player has a GUI open.
 * : 0 or 1 (true/false). True if the player has a GUI open.

Trivia

 * If the player searches for "excitedze" in the recipe book, the language switches to Pirate Speak.
 * This is a reference to "ExcitedZE", an alias used by Maria Lemón, whose avatar is a pirate.