Skip to content

Recipes

RoarkCats edited this page Aug 10, 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.

Three types of recipes are auto-generated this way:

  • Default crafting table recipe wih rods, material, and tools
  • 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

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

Clone this wiki locally