Started by
Trinity
on
Topic category: Help with MCreator software
I always input the recipe registry name right with the namespace too, but it just never works and i can only craft the item with the vanilla recipe.
I'm on mcreator version 2023.4 and the minecraft version is 1.19.4.
I had some similar issues in the 1.19.4 generator- the problem is that for certain recipe overrides, (I'm not sure how or why), they wind up getting put in the wrong folder when added. (For the override to work, it needs to both have the correct name, and have the same file structure as the vanilla recipe.) If you open your mod's workspace folder, and go to src/resources/data/recipes, you should be able to find the misplaced recipe files and manually move them to the correct location.
It seems like its in the right folder yet it still doesn't work
Weird, that does look correct. The only other thing I can think of is that it might still need to be in the 'equipment' recipe book category, but otherwise I'm not totally sure. Yes, though, the registry name and file location are both correct.
It could also be worth locking the mod element and double checking the generated code. This is what the vanilla shield recipe looks like, for comparison:
This is how it looks and how the code looks
I'm not sure what to tell you, that all looks correct. You could try reloading the gradle project, (sometimes helps with weird problems like that), but I'm not sure it'd help. You could also try copy-pasting the vanilla code into your recipe element and tweaking that, but again, not sure there's an issue there. I've been able to use modded ingredients in vanilla recipe overrides before, so that's pretty strange. The only other thing I could possibly think of is that the loading order is for some reason overriding your recipe instead of the vanilla one, but that would likely be causing bigger problems.
It might be worth updating to a later version? I had less problems with this working in the 1.20.1 generator. But yeah, sorry I couldn't be of more help.
I guess ill try changing versions and see if it works
nope, still doesnt work, i also tried it with other item recipes too and neither those work
i changed the workspace and it now suddenly works
Oh MCreator. It's a love hate relationship at times. One of my workspaces got corrupted awhile back and I had to basically rebuild the thing from scratch, but on the plus side, a bunch of my recipe overrides inexplicably worked. For the most part though, things don't randomly stop working without explanation! Just, uh, sometimes. Glad to hear it's working!
Thanks regardless for your ideas and helping me
Hey, I'm having kinda the same issue. The override recipes works ok for me. But other people downloading my mod are reporting that the recipe isn't working. Do you guys have any advice?
seeing this late but maybe try what i tried aswell, changing the workspace
its a pretty awful option for a mod thats already published but idk if theres any work-arounds