Jump to content

Recommended Posts

Posted

I've been trying to look up something on packet handling, but all of it seems outdated and has big messages saying "DO NOT USE THIS IN NEW CODE!!!"

I was wondering if any of you could give me some up-to-date info on this, as what I've found is very confusing. How does one use this packet system? What can't be done without packets? Must one use this? How does one create a basic/advanced packet hanlder?

Any help is greatly appreciated. :)

Posted

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2137055-1-7-2-customizing-packet-handling-with

Short: (simple)

http://www.minecraftforge.net/forum/index.php/topic,20135.0.html

 

How does one use this packet system? - Above.

 

What can't be done without packets? - Anything that requires you to exhange data between client and server (not talking about stuff that is alredy handled by MC, like block updates and stuff), mostly when you press Key or Button and want server to do stuff with it (Keys and Buttons are only client so you have to send packet to server). Same goes for almost anything that is not generic minecraft - custom Entity Properties, special attributes, shared data, anything.

 

Must one use this? - Yes if you want anything above basic "How to make block or Item"

 

How does one create a basic/advanced packet hanlder? - Look 1st.

 

1.7.10 is no longer supported by forge, you are on your own.

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.