Just Enough Items (JEI)

Just Enough Items (JEI)

464M Downloads

[Bug]: JEI does not refresh recipes when proxy redirects player from minimal vanlla server to modded server

ajh123 opened this issue ยท 4 comments

commented

Steps to Reproduce the Bug

  1. Have a proxy server running (like Velocity)
  2. Hava a minimal vanilla server (like a Minestom based server) that doesn't define any recipes
  3. Have a modded server like NeoForge which does defien recipes
  4. Player tries to view recipes on Minestom server - doesn't work (correct) - the default recipe book is expected to be empty
  5. Player switches to NeoForge server using the proxy
  6. Player tries to view recipes on NeoForge server - doesn't work (incorrect) - but the default recipe book works as expected

Expected Behavior

When the player attemps to view recipes in step 6, e.g. clicking the Oak Plank, they should see a recipe dialog.

In step 4 this works as expected because the Minestom server hasn't sent recipes. But in step 6 the NeoForge does send recipes so it is expected that JEI is able to view these.

Actual Behavior

In step 6 if clicking on a item with a recipe (like an Oak Plank) I should see a recipe dialog showing I need Oak Logs. In fact I do not get a dialog at all.

Mod Pack URL (Optional)

https://modrinth.com/modpack/miners-online-experience

Mod Pack Version (Optional)

1.0.4

Extra Notes (Optional)

The bug is not strictly tied to any modded recipe but it also affects vanilla recipes. So the modpack is not required to test.

All you actually need to test is a proxy, a Minestom server, a NeoForge server, and just JEI on the client.

latest.log

https://mclo.gs/3lG3Saz

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

One way to fix this is to potentially refresh recipes if a Start Configuration packet is detected during the play stage rather then just login. This is becuase the proxy reconfigures the client when switching between servers.

commented

As a workaround I am using EMI with TooManyRecipeViewers.

commented

This has been automatically closed because it has not had recent activity. Please feel free to update or reopen it.