Custom crafting recipe for Crafting Table. #2391
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You add a recipe by including a json file in your src/main/resources/data/modid/recipes This is the same as adding recipes to minecraft datapacks, except your mod is automatically a datapack. If you are using an IDE, you can also look inside the minecraft jar and find data/minecraft/recipes - it contains all the vanilla recipes, which you can use as examples. |
Beta Was this translation helpful? Give feedback.
You add a recipe by including a json file in your src/main/resources/data/modid/recipes
replace modid with your actual mod identifier.
See: https://fabricmc.net/wiki/tutorial:recipes for an example
This is the same as adding recipes to minecraft datapacks, except your mod is automatically a datapack.
See: https://minecraft.fandom.com/wiki/Recipe for the full documentation on vanilla recipes.
If you are using an IDE, you can also look inside the minecraft jar and find data/minecraft/recipes - it contains all the vanilla recipes, which you can use as examples.