Posted November 21, 20231 yr Hey modders, currently I am sending data from the client to the server to handle the data serveside and save it in a Block Entity by using SimpleChannel. Now, I want to pass a callback function/interface, which will be called when the server side processing has been finished (call it in the server side handle method). Is it possible to pass functions via the network like that or do I have to send a new package instance to the client again? Thank you!
November 21, 20231 yr You can not send a callback using the vanilla packet system you have to send a new one as replay.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.