Started by
@-Cloud'''Star…
on
Topic category: Help with Minecraft modding (Java Edition)
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
https://mcreator.net/search/content?keys=remove+vanilla+recipe
I figured it out!
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
}
}