Jump to content

[1.7.2]Easier Tutorial for Netty Packet Handling


Mecblader

Recommended Posts

Hello, I need to setup a Netty Packet Handling system. I originally had a packet handling system for my mod, but that broke in the update. So I need to start from scratch. I came across this tutorial http://www.minecraftforge.net/wiki/Netty_Packet_Handling, but I really don't understand it because it just gives you the class setup, without explaining much. I was wondering if there was an easier tutorial to follow. All help is appreciated, Thank You.

Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!

Link to comment
Share on other sites

There are a few tutorials.  They all do the same basic stuff, but they each break up the processing a little bit differently so I agree it can be confusing.

 

What are you using the packets for?

 

For Entities I came up with my own system which I find fairly easy to understand.  I made a tutorial where I tried to explain a bit more (like you said the other tutorials are more like examples than explanations): http://jabelarminecraft.blogspot.com/p/packet-handling-for-minecraft-forge-172.html

 

SanAndreasP has some good system, and so does CoolAlias. I think both have some tutorial/example code around that is worth checking out.  You don't need to use my code, but hopefully my explanations help you understand the common points for all these approaches.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Thank you I will check out those tutorials. I need to send packets because I have a custom lvl system, eg. WoodCuttingLvl, MiningLvl, AttackLvl, I think its about 24 lvl or something around that.

Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!

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.