Skip to content

Recipes

RoarkCats edited this page Aug 12, 2026 · 4 revisions

Generation

Recipes

Recipes are generated on world load dynamically from registered tiers. The generation uses default recipes types, however, it injects the recipes into the registry rather than registering them normally in order to generate dynamically.

Four types of recipes are auto-generated this way:

  • Default crafting table recipe wih rods, material, and tools
  • Smithing table transmutation upgrade recipe with prior tier and upgrade template (can replace crafting)
  • Transmutation smithing table recipe preserving existing item data such as enchantments
  • Transmutation smithing table recipe again but flipped to allow the other tool to be the base

Format

Recipe generation makes use of several fields defined in a tool tier's dynamic tier JSON file.

  • mod_id defines the mod id from which the tools in the recipe come from (ex minecraft)
  • material defines the material used in the item id of the mod's tools to be used in the recipe (ex diamond)
  • material_ingredient defines the material item to use to combine the tools in the recipe, does not need to match material
  • rod_ingredient defines the rod item to use to craft the tools in a crafting table, defaults to wooden sticks
  • smithing_upgrade_ingredient defines the smithing template item to use in place of the regular crafting recipe
  • smithing_upgrade_from_tier defines the smithing tier to upgrade from in place of the regular crafting recipe

Examples

A dynamic tier with {material:"diamond", tier_base: "diamond"} will generate recipes:

  • With the ids: minecraft_diamond_dolabra, minecraft_diamond_dolabra_smithing, minecraft_diamond_dolabra_smithing_flipped, etc.
  • With tools: minecraft:diamond_pickaxe, minecraft:diamond_axe, etc.
  • With ingredient: minecraft:diamond

A dynamic tier with {mod_id:"betternether", material:"fire_ruby", material_ingredient: {item: "magma_cream"}} will generate recipes:

  • With the ids: betternether_fire_ruby_dolabra, betternether_fire_ruby_dolabra_smithing, etc.
  • With tools: betternether:fire_ruby_pickaxe, betternether:fire_ruby_axe, etc.
  • With ingredient: minecraft:magma_cream

A dynamic tier with {material:"netherite", tier_base: "netherite", "smithing_upgrade_ingredient": {item: "netherite_upgrade_smithing_template"}, "smithing_upgrade_from_tier": "dynamic_multitools:diamond"} will generate recipes:

  • With the ids: minecraft_netherite_dolabra, minecraft_netherite_dolabra_smithing, minecraft_netherite_dolabra_smithing_flipped, etc.
  • With smithing multitool upgrade recipes from tier: dynamic_multitools:diamond
  • With upgrade template: minecraft:netherite_upgrade_smithing_template
  • With upgrade material: minecraft:netherite_ingot

Clone this wiki locally