You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I added System.out.println(ServerConfigurationNetworking.getSendable(handler)); before the if statement (links at the bottom show how channels are registered in fabric and neoforge) to compare fabric and neoforge output
But the output is empty when neoforge client performs a connection
[23:07:09] [Netty Server IO #4/INFO] (Minecraft) [STDOUT]: []
This is not just a config state issue. Sending neoforge client->fabric server packets works but fabric server->neoforge client doesn't.
I think this is a neoforge bug, since my hack for paper server works just fine with fabric but encounters the very same problem with neoforge client
Since it seems like you already have the environments available, it would probably be faster for you to self-investigate. Neo clients send the c:register payload (an instance of CommonRegisterPayload) when a c:register payload is received from the server here.
This might be a timing thing, so you'll need to debug the fabric side to see when they send c:register, when neo receives it, when neo sends the reply, and when fabric receives the reply, all w.r.t. your handling code there.
Though, this looks like you're looking for a channel during the configuration phase? Those should be included with the minecraft:register payload that gets sent at the start of the process (ref). You can debug what channels the neo client is reporting back to the server here
Minecraft Version: 1.21.1
NeoForge Version: 21.1.113
Description of issue:
For a long time I couldn't figure out why this code was unable to apply neoforge client mod config sent from fabric server
Then I added
System.out.println(ServerConfigurationNetworking.getSendable(handler));
before the if statement (links at the bottom show how channels are registered in fabric and neoforge) to compare fabric and neoforge outputThere's some data when fabric client connects
But the output is empty when neoforge client performs a connection
This is not just a config state issue. Sending neoforge client->fabric server packets works but fabric server->neoforge client doesn't.
I think this is a neoforge bug, since my hack for paper server works just fine with fabric but encounters the very same problem with neoforge client
Full code for fabric
Full code for neoforge
I'd be happy to answer any questions!
The text was updated successfully, but these errors were encountered: