Jump to content

overriding vanilla armor recipes


halp

Recommended Posts

I tried following the advice in this thread, and it does work for the wooden pickaxe example they give, but I can't disable a lot of the armor recipes this way. As an example, here is my json for the iron chestplate (it's in data/mymodid):

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "X X",
    "XXX",
    "XXX"
  ],
  "key": {
    "X": {
      "tag": "forge:ingots/iron"
    }
  },
  "result": {
    "item": "minecraft:air"
  }
}

Some of the armor pieces work just fine, but this one doesn't work.
I've also tried

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "X X",
    "XXX",
    "XXX"
  ],
  "key": {
    "X": {
      "item": "minecraft:iron_ingot"
    }
  },
  "result": {
    "item": "minecraft:air"
  }
}

I've also tried both of them at once. I also tried

/datapack disable "mod:forge"

that also had no effect.

Does anyone know how to fix this?

Link to comment
Share on other sites

I figured it out, never mind. I moved the files ending it _forge into data/forge/recipes and the ones ending in _vanilla into minecraft/data/recipes, that did the trick. Thanks for pointing me in the right direction!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.