EMI

EMI

1M Downloads

While joining some servers EMI will just remain in "EMI waiting for recipe data from server..." state

yoyosource opened this issue ยท 10 comments

commented

My logs just state:

[18:34:22] [Render thread/INFO]: [EMI] Joining server, EMI waiting for data from server...
[18:34:22] [Render thread/INFO]: [EMI] Recipes synchronized, waiting for tags to reload EMI...

Some time later the logs has the following EMI line:

[20:24:51] [Render thread/INFO]: [EMI] Discovered Sodium

No more message from EMI is printed into the logs afterwards.

Could there be an option to not wait on the server recipes and just use the locally registered ones?

commented

They are registering things with EMI that aren't real recipes.

commented

Ok, so the other mods that just run client side are faking the recipe packet to register those recipes?

commented

There is no such thing as locally registered recipes. In minecraft, the server tells the client which recipes and tags exist, even in singleplayer. If your server is not sending that information, vanilla features such as the recipe book won't work as well, and EMI can't display anything because it has no context about what exists. This is an issue on the server's end, sorry.

commented

So you cannot even display the vanilla recipes? Or recipes registered locally by a mod? For example skyblocker (https://modrinth.com/mod/skyblocker-liap). Or how are they registering the recipes? Since it is not a server side mod and also not running server side, how is that done?

commented

All recipes are registered on the server and sent on the client. When you play singleplayer, you are running a server that is communicating with you game. "Vanilla Recipes" aren't a thing that exists from the perspective of the logical client.

commented

So even those cannot be displayed? Such as that you have not full support, but partial support?

commented

EMI cannot run any plugins before recipes are received from the server, mods are coded assuming this data is present.

commented

Oh I See. That's really inconvenient. So for myself a solution would be to have a mod that sends a recipe packet with all vanilla recipes, by having them locally and pretend towards EMI that everything is alright?

commented

You're free to pursue that solution.

commented

Thanks for the help.