Pixel Dream StudiosWiki

Infusion recipes

How infusion recipes work, every field, an example, and where to put your own.

Infusion Recipes

Infusion recipes are fully data-driven. They are defined in JSON and loaded through Minecraft’s native recipe system.

Features

  • Compatible with JEI and EMI
  • Reloadable using /reload
  • Ingredient order does not matter

Infusion Recipe Structure

Infusion recipes combine two ingredients into a single result.

Required Fields

FieldDescription
typeMust be rpg_battle_gear:infusion
ingredient1First input ingredient
count1Required amount of ingredient1
ingredient2Second input ingredient
count2Required amount of ingredient2
resultOutput item and count

Example Infusion Recipe

Example: Creating an ancient_core using a Diamond and Netherite Ingot.

{
  "type": "rpg_battle_gear:infusion",
  "id": "rpg_battle_gear:infusion/ancient_core",
  "ingredient1": { "item": "minecraft:diamond" },
  "count1": 1,
  "ingredient2": { "item": "minecraft:netherite_ingot" },
  "count2": 1,
  "result": { "id": "rpg_battle_gear:ancient_core", "count": 1 }
}

File Location

data/rpg_battle_gear/recipe/infusion/ancient_core.json

Creating Your Own Infusion Recipe

To create a new Infusion recipe:

1. Create a JSON File

Place a new JSON file inside: data/rpg_battle_gear/recipe/infusion/

Example: data/rpg_battle_gear/recipe/infusion/my_custom_recipe.json

2. Define the Recipe

Example custom recipe:

{
  "type": "rpg_battle_gear:infusion",
  "id": "rpg_battle_gear:infusion/mystic_blade",
  "ingredient1": { "item": "minecraft:diamond_sword" },
  "count1": 1,
  "ingredient2": { "item": "minecraft:nether_star" },
  "count2": 1,
  "result": { "id": "rpg_battle_gear:mystic_blade", "count": 1 }
}

On this page