Skip to content

Recipe Generator

Jupiter Dev edited this page Jun 10, 2025 · 1 revision

Recipes

This page explains how to use the Recipe generator in mDirt to add custom recipes to your Minecraft datapack.


Creating a New Recipe

  1. In the Menu Bar, go to New Element β†’ Recipe
  2. The main area will update with fields and tabs for configuring your recipe.

Recipe Tabs Overview

mDirt supports three recipe types, each represented by a tab in the recipe editor:

  • Crafting β€” for regular crafting table recipes (shaped or shapeless)
  • Smelting β€” for furnace, smoker, or blast furnace recipes
  • Stonecutting β€” for stonecutter recipes

Make sure you select the correct tab depending on what kind of recipe you want to create.


Common Field: Recipe Name

  • Name
    The internal ID for your recipe (e.g., ruby_craft).
    • Must be all lowercase
    • No spaces
    • Use underscores (_) to separate words

Crafting Recipes

Slots Grid

  • The crafting tab shows a 3x3 grid representing the crafting table.
  • Click any slot to choose a Minecraft item/block to place as an input ingredient.
  • Note: Minecraft does not support using custom items, blocks, or equipment as input ingredients, so mDirt follows this restriction.
  • On the right is the Output slot β€” click to set what item your recipe produces.
  • The output can be a Minecraft item/block or a custom item/block/equipment from your project.

Shaped vs. Shapeless

  • Shaped recipes require items to be placed in the exact pattern shown in the grid.
  • Shapeless recipes don’t care about arrangement; any combination of the required ingredients works.

Output Count

  • Set how many units of the output item the recipe produces when crafted.

Smelting Recipes

Smelting recipes require:

  • Input Item

    • Must be a Minecraft item/block (custom inputs are not supported).
  • Output Item

    • Can be a Minecraft or custom item/block/equipment.
  • Mode
    Select one of the following furnace types for the recipe:

    • Smelting (uses a Furnace)
    • Smoking (uses a Smoker)
    • Blasting (uses a Blast Furnace)
    • Campfire_Cooking (uses a Campfire)

Stonecutting Recipes

Stonecutting recipes require:

  • Input Item

    • Must be a Minecraft item/block (custom inputs are not supported).
  • Output Item

    • Can be a Minecraft or custom item/block/equipment.
  • Output Count

    • Number of items produced by the recipe (default is usually 1).

Clone this wiki locally