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.

[1.7.2]Sending a packet to the server with the new netty system

Featured Replies

This approach using the Gui Handler is interresting (and makes me think I still don't really understand why it is called Gui here). But what tickles me is the usage of MC obf stuff. The lesser we have, the lesser mod porting effort we have when MC updates ...

Noppes: Yeh, I was aware of this, I just like having my packets as self containing objects so they are responsible for their own encoding/decoding. Your method is definitely the simpler option for beginners though! In the end it's just a matter of preference really as there are pros and cons to both. You should post your example on the wiki though as the more information out there the better!

Forge rookie here-

I am going to use the NOPPES basic netty approach first.

The dynamic packet way is just a bit of information overload, and I would rather use a basic method for a mod or 2 (or many) to get a real understanding of what its doing and why it does it.... I want to LEARN netty, not just use it.  Then, later when I have a fancy mod doing a lot of stuff with a bunch of packets, once I understand Nopes basic netty I can tackle the fancy Wiki-Sirgingalot advanced netty

 

thats just my 2cents

The Noppes basic netty is a smaller lesson to learn,

I avoid InfoOverload Mindfry from having to learn all this 172 stuff at once to get my mod up from 164

  • 2 weeks later...

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.