How to override crafting recipe of a modded item

Started by NewModMan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to override crafting recipe of a modded item

Hello! I'm trying to override a crafting recipe of a mod on Curseforge and I'm pretty stumped. I managed to make a new recipe for the item but it does not replace it. 

How would I do this? I assume you need to this with coding but i'm new to modding. Here I just used the default recipe code they gave you and pasted in the modded item id's. After that, I don't know what to do.


{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "012",
    "345",
    "678"
  ],
  "key": {
    "0": {
      "item": "allthemodium:unobtainium_plate"
    },
    "1": {
      "item": "allthemodium:unobtainium_plate"
    },
    "2": {
      "item": "allthemodium:unobtainium_plate"
    },
    "3": {
      "item": "allthemodium:unobtainium_plate"
    },
    "4": {
      "item": "allthetweaks:atm_star"
    },
    "5": {
      "item": "allthemodium:unobtainium_plate"
    },
    "6": {
      "item": "allthemodium:unobtainium_plate"
    },
    "7": {
      "item": "witherstormmod:super_tnt"
    },
    "8": {
      "item": "allthemodium:unobtainium_plate"
    }
  },
  "result": {
    "item": "witherstormmod:formidibomb",
    "count": 1
  }
}