Recipe book

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

Interface


The recipe book can be displayed in either the 2×2 (inventory) or 3×3 (crafting table) grids. Simply enter the crafting GUI and press the button with the knowledge book; the recipe book is then displayed to the left. This also works in smelting GUI and loom GUI but not brewing GUI.

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 displays its crafting recipe in the nearby 2×2 or 3×3 grid. The item can then be crafted if the materials are available; otherwise, the button containing the item is highlighted red. Each click shows alternate patterns for the same crafting recipe, if there are several patterns (for example, each click on a banner recipe shows 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 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.

The 2×2 recipe book displays only those recipes that can be crafted in the 2×2 grid; to see every possible recipe, a player must use the 3×3 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 also unlocks 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 crafting recipe book.
 * 0 or 1 (true/false). True if the player has the crafting recipe book GUI open.
 * 0 or 1 (true/false). True if the player has enabled the "Show Smeltable" feature in the smelting recipe book.
 * 0 or 1 (true/false). True if the player has the smelting recipe book GUI open.
 * 0 or 1 (true/false). True if the player has enabled the "Show Blastable" feature in the blasting recipe book.
 * 0 or 1 (true/false). True if the player has the blasting recipe book GUI open.
 * 0 or 1 (true/false). True if the player has enabled the "Show Smokable" feature in the smoking recipe book.
 * 0 or 1 (true/false). True if the player has the smoking recipe book GUI open.
 * 0 or 1 (true/false). True if the player has the smoking recipe book 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.
 * There is a bug that makes blast furnace and smoker recipe book to be closed when (re)loading a world.