LogoReliable Recipes

Actions

Once you have filtered the recipes you want to change, you need to apply an action to them using the "action" property.

Action: remove_recipe

Completely removes the matching recipes from the game. You can use arrays to remove large batches of recipes at once.

Example: Remove specific recipes by ID.

[
{
"action": "remove_recipe",
"id": [
"minecraft:wooden_pickaxe",
"minecraft:wooden_hoe"
]
}
]

Example: Remove brewing recipes by input.

[
{
"action": "remove_recipe",
"type": "minecraft:brewing",
"input": "minecraft:golden_carrot"
}
]

Action: replace_input

Scans ingredients and replaces a target with a new one.

  • target: The item ID (e.g., minecraft:stick) or tag (e.g., #minecraft:logs) to find.
  • replacement: The item or tag to use instead. Can be a single item ("minecraft:bamboo") or an array (["minecraft:bamboo", "minecraft:stick"]).

Example: Replace Sticks with Bamboo OR Sticks for vanilla recipes.

[
{
"action": "replace_input",
"target": "minecraft:stick",
"replacement": [
"minecraft:bamboo",
"minecraft:stick"
],
"mod": "minecraft"
}
]

replace_input also works on brewing stand reagents, see Replacing a Brewing Reagent for details.

Action: replace_output

Changes the result of the matching recipes.

  • replacement: The new item ID for the output.

Example: Make the Cake recipe craft a Golden Apple instead.

[
{
"action": "replace_output",
"replacement": "minecraft:golden_apple",
"id": "minecraft:cake"
}
]

Action: prevent_repair

Allows you to block specific items from being repaired across all standard Minecraft repair methods, including the Crafting Grid, Anvil, and Grindstone.

  • target: The item ID (e.g., "minecraft:diamond_pickaxe"), tag (e.g., "#minecraft:swords" or "minecraft:enchantable/durability"), regex pattern (e.g., "/.*_pickaxe/"), or an array of any combination.

Example: Block specific item repair

[
{
"action": "prevent_repair",
"target": "minecraft:diamond_pickaxe"
}
]

Action: set_repair_material

Allows you to completely override the item required to repair a specific tool or weapon in the Anvil.

  • target: The item ID (e.g., "minecraft:diamond_sword"), tag (e.g., "#minecraft:swords" or "minecraft:enchantable/durability"), regex pattern (e.g., "/.*_sword/"), or an array of targets to modify.
  • material: The new item ID (e.g., "minecraft:dirt"), tag (e.g., "#c:iron_ingots" or "tag:c:iron_ingots"), regex pattern (e.g., "/valcon:.*_slag/"), or an array of valid repair materials.

Example 1: Change a repair material by item ID Make a Diamond Sword repairable with Dirt instead of Diamonds:

{
"action": "set_repair_material",
"target": "minecraft:diamond_sword",
"material": "minecraft:dirt"
}

Example 2: Use tags and regex for targets and repair materials Make all durable items repairable with Diamonds:

{
"action": "set_repair_material",
"target": "minecraft:enchantable/durability",
"material": "minecraft:diamond"
}

Example 3: Use regex patterns or multiple repair materials Make all swords repairable with any ingots or dirt:

{
"action": "set_repair_material",
"target": "/.*_sword/",
"material": [
"/.*_ingot/",
"minecraft:dirt"
]
}

Global Repair Removal

If you want to disable the vanilla crafting grid repair feature for all items while still allowing Anvil or Grindstone repairs, you can use the standard remove_recipe action instead:

[
{
"action": "remove_recipe",
"id": "minecraft:repair_item"
}
]

Action: add_recipe

Creates a brand new recipe. You can define custom recipes within your rule arrays or as standalone recipe files.

  • id (Optional): A custom identifier for the recipe (e.g. "reliable_recipes:my_recipe"). If an existing recipe ID is provided, it replaces the existing recipe.
  • recipe (Optional): A JSON object containing the recipe definition.

Example 1: Using the recipe wrapper

[
{
"action": "add_recipe",
"id": "reliable_recipes:flint_from_gravel",
"recipe": {
"type": "minecraft:crafting_shapeless",
"ingredients": [
{ "item": "minecraft:gravel" },
{ "item": "minecraft:gravel" },
{ "item": "minecraft:gravel" }
],
"result": {
"count": 1,
"id": "minecraft:flint"
}
}
}
]

Example 2: Direct recipe definition

[
{
"action": "add_recipe",
"id": "reliable_recipes:dirt_to_stick",
"type": "minecraft:crafting_shapeless",
"ingredients": [
{ "item": "minecraft:dirt" }
],
"result": {
"count": 4,
"id": "minecraft:stick"
}
}
]