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

[1.16.5] Removing vanilla recipes that use Forge tags


Sinu
 Share

Recommended Posts

I've been trying to remove several vanilla recipes and realized the ones I am trying to remove don't work because they use tags by Forge.
For example, I can easily remove the Melon recipe but I can't remove Fishing Rod recipe.

I copied over the file from vanilla datapack and put it in data.minecraft.recipes with the same naming format (for example: melon.json or fishing_rod.json) and changed the output to air and it does not work for the Fishing Rod recipe. This is also true for other recipes that use tags by Forge.

I also read this forum post from a while back:

But I am not understanding how this user was able to replace Forge recipes.
Here is vanilla fishing_rod.json file: https://hatebin.com/zqhejklbgm
Here is my fishing_rod.json file put in data.minecraft.recipes: https://hatebin.com/quqkzvlrhj

Link to comment
Share on other sites

Do you mean that I am putting Forge as my dependency and setting "ordering" to AFTER? If so, would it look like this?

[[dependencies.forge]]
    modId="forge"
    mandatory=true
    versionRange="[36,)"
    ordering="NONE"
    side="BOTH"

(not 100% sure how to reference Forge as my dependency. Assuming it's just "dependencies.forge")

Link to comment
Share on other sites

So we are talking about the mods.toml inside META-INF folder? Ex: Projects\Minecraft\Brimheim\src\main\resources\META-INF. This is the only mods.toml I can find inside my MDK.
But what am I adding dependency of? I get that I need to set the "ordering" to AFTER but what am I setting the "ordering" of? Forge??

Link to comment
Share on other sites

Posted (edited)

Right. I get that. But what is my "dependencies"? [[dependencies.???]] my own mod ID?? I know its definitely not examplemod.

I did:
[[dependencies.brimheim]]
    modId="forge"
    mandatory=true
    versionRange="[36,)"
    ordering="AFTER"
    side="BOTH"

Is that correct?

Edited by Sinu
Link to comment
Share on other sites

Yes... The examplemod that comes with the MDK specifies its own dependencies. Using its own ModID "examplemod". Obviously you have to replace that with your ModID if you want to specify the dependencies for your mod...

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.