Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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!

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/

  • Author

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!

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.