Home›Java›Mods›JSON Recipe Manager
JSON Recipe Manager
ModsJava

JSON Recipe Manager

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

by face_of_cat · on CurseForge

⬇ Download on CurseForge

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more