In the game, recipe files are located in the recipes folder, where there is no sorting by other folders. They are intermingled with others.
Do so:
The recipes folder will have separate folders for each desktop in the game. For example recipes > crafting table / furnace / stone cutter and so on.
Each such folder will contain a recipe called "item name"
For example:
iron ingot
golden nuggets
In order to distinguish between a recipe with the same name, but in different desktops, will need to specify:
recipes/blasting/iron_nugget
or
recipes/smelting/iron_nugget
On a crafting table, there can be 2 types of getting 1 and the same item. For example, an iron ingot can be made from an iron block or iron nuggets.
For such cases, you can put both recipes in 1 folder.
To select exactly 1 recipe from the folder, you will need to write the path:
recipes/crafting/iron ingot/iron_block
The folder name will indicate that this is a recipe for creating an iron ingot, and the file name will indicate that it is crafted from an iron block
So it will be more convenient to work with recipes in datapacks
Please sign in to leave a comment.
0 Comments