How to Make a Recipe in Minecraft (Mod Maker guide)
Learn how to create a custom Recipe in 9Minecraft Mod Maker directly in your web browser. Turn a defined set of blocks and items into a brand new block or item.
Open the Studio and a workspace
Open 9Minecraft Mod Maker in your web browser. Because it runs right in your browser, you do not need to install anything.
Create a new workspace or open an existing one. Make sure your workspace is set to one of the supported versions: NeoForge 26.1.2, NeoForge 1.21.1, Data pack 26.1, Data pack 1.21.1, or Bedrock add-on 26.1.
Add the Recipe element
Look for the green plus button in your workspace and click it to add a new mod element.
Find the Data-driven content group and select Recipe. A Recipe is a defined set of blocks and items that gives you a new block or item.
Set the namespace and registry name
Start by filling in the Recipe registry name field. This is the recipe ID of your recipe, for example: diamond_block. If you want to override a vanilla recipe, you have to enter the same name as the vanilla registry name of the given recipe in this field.
Next, choose the Function namespace. Use Mod namespace to create a new recipe for your mod or data pack. Use minecraft to override vanilla recipes.
Choose the recipe type
Look at the Recipe type field to control in which crafting system your recipe will be available.
You can choose Crafting for the Crafting Table, Smelting for a Furnace recipe, Blasting for a recipe inside the Blast Furnace, Smoking for a recipe inside the Smoker, Stone cutting for a Stone Cutter recipe, Campfire cooking for when you right-click on a Campfire, Smithing for a recipe inside the Smithing Table, or Brewing for a recipe inside a Brewing Stand.
Configure crafting options
If you are making a crafting recipe, check the Shapeless parameter. This parameter controls if the crafting recipe needs to have a specified shape. If checked, any item configuration with said items will be accepted as a recipe.
You can also set the Crafting book category, which defines under which tab the recipe will be shown in the crafting book.
Configure cooking options
If you are making a cooking type recipe, set the Cooking book category to define under which tab the recipe will be shown in the cooking book.
Next, set the Cooking time to determine how long one item will cook. The units are ticks, so for one second of cooking time, you need to set cooking time to 20 ticks.
Finally, set the XP reward parameter. This controls how many experience points the player will receive after completing the recipe, and it is only used with cooking recipes.
Set recipe book grouping and unlocking
Fill in the Group name field to define the group inside the recipe book under which this recipe will be shown.
Add items to the Items that unlock this recipe field. When any item from this list is collected by the player, the recipe will be unlocked in the recipe book.
Test and export your work
Save your Recipe element. Use the Build & run feature in the studio to test your new recipe in the game and make sure it works as expected.
When you are happy with your recipe, export your project so you can share it or use it in your Minecraft worlds.
Tips
- Remember that 20 ticks equals one second when you are setting the Cooking time for cooking type recipes.
- If you want to replace an existing Minecraft recipe, set the Function namespace to minecraft and type the exact vanilla registry name into the Recipe registry name field.
- Check the Shapeless box if you want players to craft your item without having to put the ingredients in a specific pattern.
- Add a common ingredient to the Items that unlock this recipe list so players will easily discover your recipe in their recipe book during gameplay.