promotional bannermobile promotional banner

JSON Recipe Manager

A mod that allows you to load recipes from various JSON files

This mod allows you to load recipes from various JSON files found in the mod's config folder.

 

It supports the vanilla minecraft json recipe format.

 

Example Json files (placed in config/JSONRecipes):

 _constants.json <-- special file that contains constants that can be used in all recipes

[{
  "name": "MIXED",
  "ingredient": [
    {
      "type": "forge:ore_dict",
      "ore": "stickWood"
    },
    {
      "item": "minecraft:torch"
    }
  ]
}]

 test_1.json <-- single recipe file

{
  "type": "forge:ore_shaped",
  "group": "json.recipes",
  "result": { "item": "minecraft:diamond_ore" },
  "pattern": [
    "x x",
    " x ",
    "x x"
  ],
  "key": {
    "x": { "type": "forge:ore_dict", "ore": "gemDiamond" }
  }
}

 test_2.json <-- multiple recipes file

[{
  "type": "forge:ore_shaped",
  "group": "json.recipes",
  "result": { "item": "minecraft:coal_ore" },
  "pattern": [
    "x x",
    " y ",
    "x x"
  ],
  "key": {
    "x": { "item": "minecraft:coal", "data": 0 },
    "y": { "item": "#MIXED" }
  }
}, {
  "type": "forge:ore_shaped",
  "group": "json.recipes",
  "result": { "item": "minecraft:iron_ore" },
  "pattern": [
    "x x",
    " y ",
    "x x"
  ],
  "key": {
    "x": { "type": "forge:ore_dict", "ore": "ingotIron" },
    "y": { "item": "#MIXED" }
  }
}]

 test_3.json <-- shows how to remove an existing recipe and replace it

{
  "remove": [
    { "item": "minecraft:wooden_axe" }
  ],
  "add": [
    {
      "type": "forge:ore_shaped",
      "group": "json.recipes",
      "result": {
        "item": "minecraft:wooden_axe"
      },
      "pattern": [
        "xx ",
        "xx ",
        "  x"
      ],
      "key": {
        "x": {
          "type": "forge:ore_dict",
          "ore": "stickWood"
        }
      }
    }
  ]
}

 test_4.json <-- shows how to replace a recipe during the 'init' event

{
  "when": "init",
  "remove": [
    { "item": "stevescarts:modulecomponents", "data": 43 }
  ],
  "add": [
    {
      "type": "forge:ore_shaped",
      "group": "json.recipes",
      "result": {
        "item": "stevescarts:modulecomponents", "data": 43, "count": 12
      },
      "pattern": [
        "xx ",
        "xx ",
        "   "
      ],
      "key": {
        "x": {
          "type": "forge:ore_dict",
          "ore": "stickWood"
        }
      }
    }
  ]
}

 

If you feel the need to talk dirty to the developer:

MMD Cat Mods - Discord <-- use this or github issues instead of curse comments

The JSON Recipe Manager Team

profile avatar
  • 5
    Followers
  • 10
    Projects
  • 70.4M
    Downloads
Donate

More from face_of_catView all

  • Tesla Core Lib project image

    Tesla Core Lib

    • 66.8M
    • Mods

    Minecraft library useful in creating power hungry machines

    • 66.8M
    • August 25, 2021
    • Mods
  • Villager Market project image

    Villager Market

    • 3.0M
    • Mods

    Villager Market block that shows the trades for all the villagers around

    • 3.0M
    • February 16, 2020
    • Mods
  • BC Ore Processing project image

    BC Ore Processing

    • 49.1K
    • Mods

    Allows you to process ores into ingots... BuildCraft style.

    • 49.1K
    • February 16, 2020
    • Mods
    • +1
  • MMD Buckets project image

    MMD Buckets

    • 10.2K
    • Mods

    A bucket for every material registered with MMDLib

    • 10.2K
    • April 14, 2019
    • Mods
    • +2
  • Tesla Core Lib project image

    Tesla Core Lib

    • 66.8M
    • Mods

    Minecraft library useful in creating power hungry machines

    • 66.8M
    • August 25, 2021
    • Mods
  • Villager Market project image

    Villager Market

    • 3.0M
    • Mods

    Villager Market block that shows the trades for all the villagers around

    • 3.0M
    • February 16, 2020
    • Mods
  • BC Ore Processing project image

    BC Ore Processing

    • 49.1K
    • Mods

    Allows you to process ores into ingots... BuildCraft style.

    • 49.1K
    • February 16, 2020
    • Mods
    • +1
  • MMD Buckets project image

    MMD Buckets

    • 10.2K
    • Mods

    A bucket for every material registered with MMDLib

    • 10.2K
    • April 14, 2019
    • Mods
    • +2