
Recipe Manipulator
Recipe Manipulator is a lightweight mod (only 1 class file) that enables adding or removing recipes in the standard Minecraft crafting table. The mod only requires Forge, with no additional dependencies needed.
The mod utilizes the JSON recipe format introduced in Minecraft 1.12 together with Forge. This allows flexible management of crafting recipes using a format familiar to many users.
Creating Recipes
The mod works correctly with all valid Minecraft and Forge recipes. It's important to note that incorrect recipes can cause game crashes, so it's recommended to carefully review log files before reporting any issues. To prevent discrepancies, client and server must have identical recipe files.
On first launch, the mod creates a "recipes" folder in the Minecraft working directory. You can place JSON files with recipes in this folder. A simple example:
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#X#",
"###"
],
"key": {
"#": {
"item": "minecraft:cobblestone"
},
"X": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "minecraft:obsidian",
"count": 1
}
}
Advanced Features
To study complex usage scenarios of the mod, it's recommended to look at examples from the Refined Storage mod, which demonstrates advanced Forge capabilities in working with recipes.
Many installed modifications also use the JSON format for adding recipes, so additional examples can be found on GitHub or inside corresponding mod JAR files.
Removing Recipes
The process of removing recipes is quite simple and covers most practical cases. The following example demonstrates the basic approach:
{
"action": "remove",
"conditions": [
{
"type": "recipe_exists",
"recipe": "minecraft:wooden_pickaxe"
}
]
}
Additional Information
For convenient file organization, you can create subdirectories within the "recipes" folder. Each such directory can store separate configuration files.
Video presentations and reviews of the mod are available on popular video hosting platforms for better understanding of its functionality.