User Tools

Site Tools


tutorial:recipes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:recipes [2019/08/02 10:47] – added clarification about count fudgetutorial:recipes [2021/09/02 12:02] – Clarify meaning of recipe file name daomephsta
Line 6: Line 6:
 To make it available to survival players, we'll add a crafting recipe for the item.   To make it available to survival players, we'll add a crafting recipe for the item.  
  
-Create a file named ''fabric_item.json'' under ''resources/data/tutorial/recipes/'' (replace tutorial with your mod id if appropriate). +Create a file named ''fabric_item.json'' under ''resources/data/tutorial/recipes/'' (replace tutorial with your mod id if appropriate).\\ 
 +Recipe files are conventionally named after their output, but they can have any name.
 Here's an example recipe for the ''fabric_item'' we made: Here's an example recipe for the ''fabric_item'' we made:
 <code javascript resources/data/tutorial/recipes/fabric_item.json> <code javascript resources/data/tutorial/recipes/fabric_item.json>
Line 42: Line 43:
 For more information about the format of basic recipes, see [[https://minecraft.gamepedia.com/Recipe|here]]. For more information about the format of basic recipes, see [[https://minecraft.gamepedia.com/Recipe|here]].
  
-===== Adding a custom crafting recipe ===== +Recipes can also be generated dynamically on runtime, for more information see [[tutorial:dynamic_recipe_generation|here]]. 
-The ''type'' value can be changed to support a custom recipe [more information needed].+ 
 +===== More on the recipe type ===== 
 +The ''type'' value can be changed so it can be used in the corresponding crafting block (stone cutter, blast furnace, smiting table, ...), see all types and values [[https://minecraft.gamepedia.com/Recipe#List_of_recipe_types|here]]. 
 + 
 +You can even create your own recipe type: [[tutorial:recipe_types_introduction|Introduction to RecipeTypes]]
  
tutorial/recipes.txt · Last modified: 2022/12/16 00:25 by solidblock