These 14 files (picture) cant be changed with using a data pack to change the output for how many stairs you get out of them, from 4 to 8. They are saved under the exact same name as the default crafting recipe is. Every other stair variant can be overwritten to output 8 stairs when crafted. I've included two example photos of the .json files. The only way to ge the recipes to actually work is to disable vanilla datapack, and well, that's bad and not what I want to do.
Linked issues
is duplicated by 1
Attachments
Comments 7
In order to replace / overwrite vanilla recipes, the files must be in the minecraft
namespace. If you move all stair recipes to the minecraft
namespace, all stair recipes will work just fine. (For all the other recipes I would still use a different namespace though)
If the files are in separate namespaces, Minecraft seems to select nondeterministically which data pack's recipe to choose.
my problem is that its for a server i run. the only place i can put those files are in the datapack folder.
To clarify, if you want to replace vanilla recipes, put them inside of
datapacks/custom_crafting/data/minecraft/recipes
If you use another name space than minecraft
(like you used customcrafting
), you cannot replace the recipe.
Note that this is only the case for replacing recipes. If you want to add recipes, you can still use your own name space.
you're saying rename the "customcrafting" file to "minecraft" and it will work? you wording is confusing.
I cannot reproduce this, all these files can be properly replaced. Please attach the full data pack if you can't find an issue with your files.