Jump to content

[SOLVED] [1.16.4] My packet sending system that worked in 1.15.2 doesn't work for 1.16 versions


Recommended Posts

I checked the docs and I don't think anything changed. I debugged the client and put a breakpoint at decode and handle and none of them were going off. Here's the source code if it helps (it's a little sloppy).

The 1.15.2 branch is pretty much the same and it works fine, the only difference in 1.16.1 and 1.16.4 I added some config options for some new gear. Both 1.16.1 and 1.16.4 have the same problem. I double checked the additions to make sure I didn't make any typos, and I don't think I did. I don't understand the system very well and I'm really confused and I'm not sure what is going on. I'm probably missing something obvious lol. I'd really appreciate any help; let me know if you guys need any more data.

Edited by Squidsword
Link to comment
Share on other sites

Wow thanks, I don't know how I missed that. You're definitely right, I wrote it before I took any java classes so it's super sloppy. I took an intro class since and I think I'm going to make some helper methods to reduce the horizontal space needed and maybe make an array instead of doing it all one by one so it'll trim the lines of code down by a bit. Anyway, problem solved!

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.

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.


  • Create New...

Important Information

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