RPG Battlegear
RPG BattleGear Recipe Guide
Infusion Altar & Data-Driven Recipes
RPG Battle Gear introduces the Infusion Altar, a custom crafting station that allows players and pack creators to define advanced item combinations using a fully data-driven recipe system.
This page explains:
- How to craft the Infusion Altar
- How Infusion recipes work
- File structure and locations
- How to create your own Infusion recipe
- Example recipe definitions
Infusion Altar
The Infusion Altar is a custom crafting block used to combine two ingredients into a new item.
Crafting the Infusion Altar
Create the altar using the following shaped recipe:
{
"type": "minecraft:crafting_shaped",
"pattern": [
"SSS",
"O O",
"OOO"
],
"key": {
"S": {
"item": "minecraft:stone"
},
"O": {
"item": "minecraft:obsidian"
}
},
"result": {
"id": "rpg_battle_gear:infusion_altar",
"count": 1
}
}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
| Field | Description |
|---|---|
type | Must be rpg_battle_gear:infusion |
ingredient1 | First input ingredient |
count1 | Required amount of ingredient1 |
ingredient2 | Second input ingredient |
count2 | Required amount of ingredient2 |
result | Output 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 }
}