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 revisionBoth sides next revision
tutorial:recipes [2021/02/16 20:05] – Changed section about recipe type legoreltutorial: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>
tutorial/recipes.txt · Last modified: 2022/12/16 00:25 by solidblock