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

Payload sophisticatedcore:transfer_recipe may not be sent to the server! #1269

Open
gegentan opened this issue Jan 16, 2025 · 3 comments
Open
Labels
question Further information is requested

Comments

@gegentan
Copy link

Describe the bug
When trying to fill out a recipe using the emi mod into the crafting upgrade crafting grid, nothing happens and only an error gets written into the logs.
This doesn't happen on FabricMC.

To Reproduce

  1. Start Minecraft on NeoForge wit the emi and sophisticated core/backpacks mod.
  2. Open any recipe in EMI
  3. Click on the "Fill Recipe" button (plus icon)

Expected behavior
The recipe get's filled into the crafting upgrade crafting grid.

Versions
Minecraft 1.21.1
NeoForge 21.1.95
EMI 1.1.19
Sophisticated Backpacks 3.22.4

java.lang.UnsupportedOperationException: Payload sophisticatedcore:transfer_recipe may not be sent to the server!
	at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.registration.NetworkRegistry.checkPacket(NetworkRegistry.java:468)
	at TRANSFORMER/[email protected]/net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl.send(ClientCommonPacketListenerImpl.java:322)
	at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.extensions.IClientCommonPacketListenerExtension.send(IClientCommonPacketListenerExtension.java:24)
	at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.PacketDistributor.sendToServer(PacketDistributor.java:41)
	at TRANSFORMER/[email protected]/net.p3pp3rf1y.sophisticatedcore.compat.jei.CraftingContainerRecipeTransferHandlerBase.transferRecipe(CraftingContainerRecipeTransferHandlerBase.java:116)
	at TRANSFORMER/[email protected]/net.p3pp3rf1y.sophisticatedcore.compat.jei.CraftingContainerRecipeTransferHandlerBase.transferRecipe(CraftingContainerRecipeTransferHandlerBase.java:33)
	at TRANSFORMER/[email protected]+1.21.1+neoforge/dev.emi.emi.jemi.JemiRecipeHandler.jeiCraft(JemiRecipeHandler.java:134)
	at TRANSFORMER/[email protected]+1.21.1+neoforge/dev.emi.emi.jemi.JemiRecipeHandler.craft(JemiRecipeHandler.java:78)
	at TRANSFORMER/[email protected]+1.21.1+neoforge/dev.emi.emi.registry.EmiRecipeFiller.performFill(EmiRecipeFiller.java:123)
	at TRANSFORMER/[email protected]+1.21.1+neoforge/dev.emi.emi.api.widget.RecipeFillButtonWidget.mouseClicked(RecipeFillButtonWidget.java:72)
	at TRANSFORMER/[email protected]+1.21.1+neoforge/dev.emi.emi.screen.RecipeScreen.mouseClicked(RecipeScreen.java:430)
	at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.lambda$onPress$0(MouseHandler.java:98)
	at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.Screen.wrapScreenError(Screen.java:451)
	at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.onPress(MouseHandler.java:95)
	at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.lambda$setup$4(MouseHandler.java:202)
	at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:98)
	at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.lambda$setup$5(MouseHandler.java:202)
	at MC-BOOTSTRAP/[email protected]+5/org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
	at MC-BOOTSTRAP/[email protected]+5/org.lwjgl.system.JNI.invokeV(Native Method)
	at MC-BOOTSTRAP/[email protected]+5/org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
	at TRANSFORMER/[email protected]/com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:134)
	at TRANSFORMER/[email protected]/com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:147)
	at TRANSFORMER/[email protected]/com.mojang.blaze3d.platform.Window.updateDisplay(Window.java:290)
	at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1217)
	at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:807)
	at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:230)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136)
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:124)
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:32)
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:103)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210)
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
@P3pp3rF1y
Copy link
Owner

I can't even transfer recipe to crafting grid, not sure what's wrong with EMI's jei plugin support there. Anyway this looks like there's something wrong with your environment, likely server, where it is unable to find a channel to send the payload.
Are you trying this in multiplayer? Can you double check that correct version of core is present on both ends?

@P3pp3rF1y P3pp3rF1y added the question Further information is requested label Jan 16, 2025
@P3pp3rF1y
Copy link
Owner

And based on a different comment I was able to get the crafting upgrade to work by adding JEI and I definitely don't get any crash here, it just works in single player for me

@P3pp3rF1y
Copy link
Owner

any additional info you have on this or should I just close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants