Minecraft wiki entry for Recipe, associated text: Recipes can be obtained in various ways. Using the recipe automatically makes the player discover it. Recipes can also be granted using the /recipe command or as a reward for completing an advancement. Vanilla survival has multiple advancements that grant recipes, which trigger when for example the player obtains an item required in the recipe.‌[Java Edition only]