Jump to content

[1.13.2] Packet Handling


harison513

Recommended Posts

https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a

Specifically this section

Quote

network: SimpleImpl -> SimpleChannel

enqueuework instead of addScheduledTask

register free funcs

See https://github.com/sinkillerj/ProjectE/blob/c17ff6e1b7151b9ef12396af47a937bb599bf7bf/src/main/java/moze_intel/projecte/network/PacketHandler.java#L23-L52

 

  • Like 1
Link to comment
Share on other sites

... oh.

 

Errr yeah, I knew that was there...

 

On another note, the packets inside that repo all implement IMessage but that interface doesn't appear to exist anymore (like it did in 1.12.2) nor can I find it anywhere else in the repo. Am I missing something else really obvious?

Edited by harison513
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.