Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Recipe #8

Closed
WenXin20 opened this issue Jul 12, 2021 · 8 comments
Closed

Missing Recipe #8

WenXin20 opened this issue Jul 12, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@WenXin20
Copy link

Minecraft v1.16.5
Forge v36.1.32
Structure's Compass v1.1.0

When trying to check for a recipe for the compass while on my server, I noticed jei would not display it. Upon checking the server logs, I found this:

[net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe structurescompass:structures_compass_easy
com.google.gson.JsonSyntaxException: Invalid or unsupported recipe type 'structurescompass:recipe'
@Samarium150
Copy link
Owner

Not sure why, and we cannot reproduce the error.

@WenXin20
Copy link
Author

Oh odd

@spthiel
Copy link

spthiel commented Jul 17, 2021

Having the exact same issue.

Enviroment of testing:
forge-1.15.2-31.2.50.jar
minecraft_server.1.15.2.jar
structurecompass-1.15.2-1.1.0.jar
no other mods installed

The issue seems to be caused by the IRecipeType not being registered on Servers due to the limitation of the event to Client. (However allowing the event to also be executed on the server cases "Unknown recipe serializer minecraft:" and I gave up testing after that

@Samarium150 Samarium150 added the bug Something isn't working label Jul 19, 2021
@Samarium150
Copy link
Owner

Samarium150 commented Jul 19, 2021

Having the exact same issue.

Enviroment of testing:
forge-1.15.2-31.2.50.jar
minecraft_server.1.15.2.jar
structurecompass-1.15.2-1.1.0.jar
no other mods installed

The issue seems to be caused by the IRecipeType not being registered on Servers due to the limitation of the event to Client. (However allowing the event to also be executed on the server cases "Unknown recipe serializer minecraft:" and I gave up testing after that

I‘ve also reproduced this error (unknown recipe serializer), but I'm not sure why this happened.

@spthiel
Copy link

spthiel commented Jul 19, 2021

What I can tell you is that when value = Dist.CLIENT is removed from this line, the mod correctly loads the recipe but causes an error when a client tries to join the server

@Samarium150
Copy link
Owner

What I can tell you is that when value = Dist.CLIENT is removed from this line, the mod correctly loads the recipe but causes an error when a client tries to join the server

Indeed, that's why the error confuses me.

@joe-vettek
Copy link

It's the same with me,hope you can solve it.And when I check the recipe in JEI,it can cause to too long time for sever to wait and then crash.

@Samarium150
Copy link
Owner

Still don't know why. Possible workaround: remove the easy or normal recipe which means the recipe will be fixed and there is no changeable option for it. If you feel comfortable with it, add 👍 reactions here, otherwise add 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants