How to remove vanilla recipes [Please Reply]

Started by @-Cloud'''Star… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to remove vanilla recipes [Please Reply]
Sat, 11/25/2023 - 15:12 (edited)

It says "Crafting recipe needs to have result defined (air does not count)" when I try to use air to remove a wooden pickaxe recipe, since my new type of planks have a more complex pickaxe recipe and I don't want the players to cheese the more complex recipe by using the vanilla wooden pickaxe recipe. However, I can't remove the "planks" tag since I want this wood to work with literally anything else. My wood also has a unique pickaxe. Every other pickaxe recipe (Oak, Birch, etc.) can stay in the game.

Edited by @-Cloud'''Star'''Sky-@ on Sat, 11/25/2023 - 15:12
Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out! Set the…
Thu, 02/13/2025 - 05:53

I figured it out!

  1. Set the recipe registry name to wooden_pickaxe
  2. Set the recipe namespace to minecraft
  3. Set the recipe to something temporary (like 1 dirt block)
  4. Make the result of the recipe a wooden pickaxe
  5. Save then open in code editor
  6. Remove the data under "pattern"
  7. Lock the code and save
Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If the previous solution…
Tue, 11/11/2025 - 13:37

If the previous solution doesn't work (which it didn't for me) I have an alternative!

Instead, create the pattern of the resulting item and set the registry name to that item. Then, edit the code of the recipe and set the resulting item to "minecraft:air". (The code is at the bottom in-case it isn't clear enough) This should work, but if it doesnt, feel free to contact me on discord, @roguecypher_

"result": {
"id": "minecraft:air",
"count": 1
}
}