Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

overriding vanilla armor recipes


halp
 Share

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

Why did you remove the .gitignore file that comes with the MDK? Your repository is huge now because you included the build and run folder for no reason.

You are putting the JSON files in your data directory, meaning they do not override the vanilla ones... I am not really sure what else you expected.

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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.