Jump to content

[1.19.x] Overriding/Disabling Vanilla Smelting Recipes


LightningFlash

Recommended Posts

I am trying to override or disable some vanilla recipes, as part of my mod. All of the methods that I have seen online, so far, do not work.

So far, I have tried:

  • Creating a JSON file in the "data/minecraft/recipes" folder, that has air as the ingredient and a barrier as the result
    • This only works for crafting table recipes
    • adding a smelting recipe this way works as intended
  • Editing the ordering to AFTER in the forge dependency inside the "mods.toml" file
  • Found an older post about using the FurnaceRecipe class, that no longer exists

So, what is required to disable a vanilla smelting recipe? I know some may say to not do this, but part of the progression of my mod kind of requires disabling some of the furnace recipes. Also, it seems that smelting recipes don't technically have to have the same filename as the block used, r as the result. When overriding crafting recipes, just adding the edited/removed recipe file in the minecraft data folder, under the same name as the original recipe. 

Edit: the crafting recipes seem to be cached between worlds? I created a new world and the edited crafting recipes works, but it doesn't work in an already made world?

Edited by LightningFlash
adding more information
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.



×
×
  • Create New...

Important Information

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