Skip to content

Custom crafting recipe for Crafting Table. #2391

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@warjort
Comment options

warjort Jul 13, 2022
Collaborator

@Intezium
Comment options

@warjort
Comment options

warjort Jul 13, 2022
Collaborator

@warjort
Comment options

warjort Jul 13, 2022
Collaborator

@Intezium
Comment options

Answer selected by Intezium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants