Jump to content

Recommended Posts

Posted

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

Posted

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")

Posted

Could you guide me on how I can do that? The only mods.toml file I was able to find was inside my own mod in META-INF folder.

Posted

From my understanding, the MDK is where the gradle is setup and all its subfolders? I looked in there and I couldn't find anything.

Posted

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??

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
Posted

How will that fix my crafting issues with fishing_rod.json file when it doesn't even use/reference any tags I added in that folder?

Posted

So you just downloaded my source code and loaded it up and it doesn't allow you to create the Fishing Rod? I can still craft it and I uploaded exactly as is and I haven't touched it.

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.